BPMN flows in JavaScript Diagram control
18 Nov 20182 minutes to read
BPMN Flows are lines that connects BPMN flow objects.
- Association
- Sequence
- Message
Association flow
BPMN Association flow is used to link flow objects with its corresponding text or artifact. An association is represented as a dotted graphical line with opened arrow. The types of association are as follows:
- Directional
- BiDirectional
- Default
The association property allows you to define the type of association. The following code example illustrates how to create an association.
The following table demonstrates the visual representation of association flows.
| Association | Image |
|---|---|
| Default | ![]() |
| Directional | ![]() |
| BiDirectional | ![]() |
NOTE
The default value for the property
associationis default.
Sequence flow
A sequence flow shows the order in which the activities are performed in a BPMN process and is represented by a solid graphical line. The types of sequence are as follows:
- Normal
- Conditional
- Default
The sequence property allows you to define the type of sequence. The following code example illustrates how to create a sequence flow.
The following table contains various representation of sequence flows.
| Sequence | Image |
|---|---|
| Default | ![]() |
| Conditional | ![]() |
| Normal | ![]() |
NOTE
The default value for the property
sequenceis normal.
Message flow
A message flow shows the flow of messages between two participants and is represented by dashed line. The types of message are as follows:
- InitiatingMessage
- NonInitiatingMessage
- Default
The message property allows you to define the type of message. The following code example illustrates how to define a message flow.
The following table contains various representation of message flows.
| Message | Image |
|---|---|
| Default | ![]() |
| InitiatingMessage | ![]() |
| NonInitiatingMessage | ![]() |
NOTE
The default value for the property
messageis default.








