|
BPMN-OS
BPMN for optimization and simulation
|
The state of a token at an intermediate catching event is immediately advanced from ARRIVED, to ENTERED to BUSY and awaits the trigger. If the token is at a message boundary event, the message content is used to update the status of the token.
After the event is triggered, the state is advanced COMPLETED. Then, the token state is changed to DEPARTED or DONE.
stateDiagram-v2
state departure <<choice>>
[*] --> ARRIVED
ARRIVED --> ENTERED
ENTERED --> BUSY
BUSY --> COMPLETED: trigger
COMPLETED --> departure
departure --> DEPARTED: [outgoing sequence flow]
departure --> DONE: [no outgoing sequence flow]
DEPARTED --> [*]
DONE --> [*]