Token is the concept that describes the current position in the process flow. When you start the process you have a graph of nodes and based on the configuration you will go from one to another based on the defined sequence (connection between nodes).
Token Status | Description |
---|---|
ACTIVE | the token state is set to active when tokens are created; a parent token is reactivated when all child tokens reach the parallel gateway closing node. |
INACTIVE | child tokens are set to inactive when they arrive in a parallel gateway closing node; the current token is set to inactive when it reaches a final node. |
ABORTED | the current token is set to Aborted when it moves backward in order to redo a series of previous actions in the process - it is reset, and a new token is activated. |
ON HOLD | when a parallel split gateway node is reached, the parent token is set to On hold until all the child tokens reach the parallel gateway closing node; the parent token does not have a “Retry” action icon until all the child tokens are finished. |
DISMISSED | when the process/subprocess reaches a certain node and it is canceled/exited. |
EXPIRED | when a defined “expiryTime” in the process definition passes the token will change to this status. |
TERMINATED | when the process is terminated by a termination request. |
Status Current Node | Definition |
---|---|
ARRIVED | when the token reaches the new node |
EXECUTING | when the token execution starts |
EXECUTED_COMPLETE | after executing node actions, if all the mandatory actions from the node are completed |
EXECUTED_PARTIAL | after executing node actions, if there are still mandatory uncompleted actions on it |
WAITING_MESSAGE_EVENT | when the token reaches an intermediate message catch event node, the token will be set to this status |
WAITING_TIMER_EVENT | when the token reaches an intermediate timer event node, the token will be set to this status |
WAITING_MESSAGE | when the token waits for a message from another system |
MESSAGE_RECEIVED | after the message was received |
MESSAGE_RESPONSE_TIMED_OUT | if the message was not received in the set timeframe |