Creating a BPMN Simulation Model

Create a BPMN diagram suitable for simulation

Step

Action

See also

1

Create a Business Process or BPEL diagram from the BPMN 2.0 technology. If you create a BPEL diagram Enterprise Architect has specialized dialogs to streamline the creation of compliant models.

 

Add New Diagrams

2

We recommend creating a Start Event to clearly show where your simulation starts. You will be given multiple choices for the Event Type, these do not influence the simulation of your model. If no Start Events are defined then the simulation will start from an Activity that has no incoming Sequence Flows.

 

Start Event

3

Add all of the Activities that are involved in the Process being modeled. You will be given multiple choices for the Task Type, these do not influence the simulation of your model. The behavior of Activities can be further decomposed by specifying an Activity Type of Sub-Process and selecting Embedded or CallActivity. Standard Loops are also supported.

 

Activity

4

Add Sequence Flows between your activities. The BPEL properties dialog allows you to enter the condition that must be true before the Sequence Flow  will be followed. You can also set the Condition Type to Default to ensure that this flow will be taken if all other branches fail the condition specified. If you are not using a BPEL diagram, please refer to the conditionExpression and conditionType tagged values.

 

Sequence Flow

5

Add End Events for any conditions that will cause the process or active execution path to end. You will be given multiple choices for the Event Type, of these only the Terminate type will influence the execution. In simulations with multiple active nodes, it causes the entire process to terminate instead of just the thread that reaches that node.

 

End Event

6

You can optionally define a simulation script for the execution of this diagram. Select BPMN as the Platform.

 

Set Up Simulation Script

Learn more