|
BPMN-OS
BPMN for optimization and simulation
|
A token arrivaing at an event-based gateway receives ARRIVED state. The state is immediately advanced to ENTERED and then to BUSY. A copy of the token is created for each outgoing sequence flow and the original token.
stateDiagram-v2
[*] --> ARRIVED
ARRIVED --> ENTERED
ENTERED --> BUSY
BUSY --> [*]
The state of each token copy is immediately advanced to DEPARTED.
stateDiagram-v2
[*] --> DEPARTED
DEPARTED --> [*]
When any of the subsequent catch event is triggered the respective token advances, all other token copies are withdrawn, and the token at the event-based gateway is disposed.