Unexpected interruptions happen in many business processes. A task may be running, but an event can suddenly change the flow. That is why I use boundary events with Camunda. They help me model what happens when a message, timer, error, or other event interrupts ongoing work. In this article, I show how these attached BPMN events work and how to model them step by step.
What is BPMN 2.0?
BPMN 2.0 stands for Business Process Model and Notation, version 2.0. It’s a standard. I use it to model business processes clearly and consistently. Even better, most process automation tools support BPMN, including Camunda.
Its diagrams show the flow of tasks, events, and decisions. As a result, everyone—from analysts to developers—can understand the process logic at a glance. That makes it incredibly useful. Read more about Camunda and Process Management in BPMN Core Elements with Camunda: My Hands-On Guide and Engaging and Practical BPMN Example with Camunda (open in new tabs).
Events in BPMN 2.0
Events are essential in BPMN. They signal that something happens during a process. I distinguish between start events, intermediate events, and end events. Among intermediate events, there’s a special type: the boundary event.
Boundary events attach directly to an activity. They interrupt or influence that activity. For example, I might expect a cancellation, a timeout, or an error—right while a task is being processed.
These events don’t pause the whole process. Instead, they only impact the specific task they’re attached to.
Now, let’s take a closer look at how to model these attached events in practice.
Modeling Attached Events in BPMN (Step-by-Step with Camunda)
Let’s say I want to model a task and an event interrupts this task. Thus, I’ll call this task “Process Order”, and the interrupting event is “Cancel Order”. Here’s how I do it in Camunda:
Step 1: Open Camunda Modeler
First, I open the Camunda Modeler. Then, I create a new BPMN diagram and I connect all elements with sequence flows.
Step 2: Add a Start Event
I drag a Start Event onto the canvas. I rename it to “Order Received”.

Then, I place the event on the canvas and name it “Order Received”.
The start event defines the point at which my order process begins.

Step 3: Add the Main Task
Next, I add a Service Task and label it “Process Order”. This is the activity the process normally executes.

I place the task after “Order Received”, connect both elements, and name the task “Process Order”.

Step 4: Attach the Interrupting Event
Now comes the important part. Click the “Process Order” task and select Append Intermediate Event → Boundary Event, with the detailed search, which you can access via the three dots.
This creates a boundary intermediate event, which I place directly on the edge of the task. I set its type to Message and label it “Cancel Order”. This is how I model attached events in BPMN correctly.

Next, I place the event directly on the edge of the “Process Order” task. I configure it as a message event and label it “Cancel Order”.

Step 5: Define the Alternative Flow
From the boundary event, I draw a sequence flow to another task. I name it “Handle Cancellation”. This task will run if the order gets cancelled mid-process.

Step 6: Define the Normal Flow
Meanwhile, the original task continues to another activity: “Ship Order”. This happens if no cancellation occurs.

Step 7: Add End Events
Finally, I place two End Events: one after “Ship Order” and one after “Handle Cancellation”.

Then, I place one end event after “Ship Order” and another after “Handle Cancellation”. I name them “Order shipped” and “Order cancelled”.

How It Works in Execution
Let’s walk through what happens at runtime:
- The process starts with “Order Received”.
- The token flows into “Process Order”.
- If “Cancel Order” arrives during processing, the system cancels the task and routes the flow to “Handle Cancellation”.
- If no cancellation happens, the task finishes normally, and the order is shipped.
- If the event occurs after the task is already done, it has no effect. The event is simply ignored.
That’s the power of attached events in BPMN. They allow me to react to sudden changes without pausing or restarting the entire process.
Final Thoughts
To sum up, I use attached boundary events to model interruptions within a task. They sit right on the edge of an activity and redirect the process flow when something unexpected happens. Thanks to BPMN 2.0 and Camunda, it’s straightforward to set up.
Now you know how to model attached events in BPMN step by step. Try it yourself in Camunda and see how much clarity it brings to your process models.
What’s Next?
Now that you have expanded your Camunda knowledge, it is time to strengthen your understanding of BPMN. Knowing the individual modeling elements and their purpose helps you create clear, consistent, and meaningful process diagrams.
Continue with How to Use BPMN Elements in Camunda to explore events, activities, gateways, and sequence flows. You will learn how these fundamental building blocks work together to represent business processes.
Mastering BPMN core elements provides the foundation for creating more sophisticated process models in Camunda.
Explore More Requirements Engineering Tools
Effective Requirements Engineering requires more than methodological knowledge. The right tools help you visualize processes, document requirements, manage changes, and improve collaboration. Therefore, explore the main article on Requirements Engineering Tools to discover how draw.io, Confluence, Jira, and Camunda support your daily work. You will find practical tutorials and step-by-step guides that help you develop your technical skills. Understanding how different Requirements Engineering tools complement each other helps you establish more efficient and structured workflows.
Credits: The diagrams were created with Camunda.





