|
BPMN-OS
BPMN for optimization and simulation
|
The state of a token at a boundary event is immediately advanced from 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 boundary event is triggered, the state is advanced COMPLETED. If the boundary event is interrupting, all other tokens within the scope of the respective acitvity are withdrawn. Otherwise, a new token is created at the boundary event allowing it to be triggered again.
Then, the token state is changed to DEPARTED or DONE.
stateDiagram-v2
state departure <<choice>>
[*] --> ENTERED
ENTERED --> BUSY
BUSY --> COMPLETED: trigger
COMPLETED --> departure
departure --> DEPARTED: [outgoing sequence flow]
departure --> DONE: [no outgoing sequence flow]
DEPARTED --> [*]
DONE --> [*]