Mastering Sequential Multi-Instance Markers in Visual Paradigm BPMN

In the complex world of Business Process Model and Notation (BPMN), efficiency often hinges on how we manage repetitive tasks. Imagine a scenario where you need to process a list of 1,000 invoices. If your system processes them all at once, you might crash your database. If you process them one by one, manually, your workflow will take forever. This is where the Sequential Multi-Instance Marker becomes a critical architectural tool.
Visual Paradigm (VP) and its AI-assisted modeling features allow us to implement this logic cleanly, ensuring that systems respect resource constraints while automating repetitive work. This tutorial explores the architecture of sequential execution, how to model it visually, and why the order of operations matters in real-world engineering and business scenarios.
The Architecture of Batch Processing
At its core, a multi-instance activity represents an activity that is executed multiple times. However, the mode of execution changes the entire system behavior. When we apply a Sequential marker, we are defining a strict, linear dependency between instances.
Unlike parallel execution, where tasks might run simultaneously (like a factory line with multiple robots), sequential execution forces a serial flow. The system must finish Instance A completely—including all data processing and state updates—before it even acknowledges the existence of Instance B.
Visual Identification
In Visual Paradigm, this concept is represented by a distinct visual symbol located at the bottom of the Activity or Task box. It consists of three horizontal parallel lines, resembling the universal “hamburger” menu icon (≡). This symbol serves as a visual cue to the developer or stakeholder that the enclosed task is not a singular event, but a loop.
How the Execution Flow Works
When you configure a task with a sequential multi-instance marker in Visual Paradigm, you are essentially telling the BPM engine to iterate over a data collection (like a List or an Array) without breaking the main process thread.
- Data Input: The process receives a collection of items. For example, a list of 10 safety valves that need inspection.
- Iteration Start: The engine takes the first item from the list (Valve 1).
- Execution: The task (Inspection) runs. The system waits for this specific task to complete its full lifecycle.
- Completion Check: Once Valve 1 is marked “Complete,” the engine marks the first instance of the task as done.
- Next Iteration: Only after the first instance is fully closed does the engine proceed to Valve 2.
This creates a “strictly linear” execution path. It is the digital equivalent of a single person reading a stack of letters one by one, rather than three people reading them simultaneously.
Real-World Application: Resource Constraints
Why would we ever choose sequential over parallel? The answer almost always lies in resource constraints.
Consider a safety inspection scenario. A facility has a batch of ten pressure valves to test. The physical reality is that there is only one testing rig available. It is physically impossible to test Valve 1 and Valve 2 at the exact same moment. If the process model allowed parallel execution, it would imply a requirement for ten testing rigs, which is a costly and unrealistic assumption.
By applying the Sequential Multi-Instance Marker, the model accurately reflects the physical limitation: Valve 2 cannot be inspected until Valve 1 is finished and the rig is freed up.
Visual Paradigm Configuration
To implement this in Visual Paradigm, you must navigate to the properties of the Task or Activity element. You will see options for “Multi-Instance.” It is crucial to select the Sequential mode. If you accidentally select “Parallel,” the BPM engine will attempt to spawn all instances simultaneously, likely resulting in a runtime error or a bottleneck in the simulation.
Summary of Key Concepts
- Symbol: Three horizontal lines (≡) at the bottom of the task.
- Behavior: One instance must fully complete before the next begins.
- Use Case: Ideal for single-resource tasks, manual data entry, or any process where concurrency is not possible.
- Data Flow: Processes items from a collection one by one (Item 1 → Item 2 → Item 3).
By mastering the Sequential Multi-Instance Marker, you ensure your BPMN diagrams are not just pretty pictures, but functional specifications that accurately represent the operational realities of your business.