The ProcessInstanceState component is an Enumeration that
defines the possible statuses for a process instance.
To read the status of the current process instance, use the predefined instance variable
status. Every process instance includes the
status predefined variable, which is an instance of
ProcessInstanceState.
You cannot change the value of status. The status of the process
instances is controlled by the Process Execution Engine.
The valid statuses are:
- ABORTED: The instance was aborted. Aborted instances exist in the End
activity.
- ACTIVITY_COMPLETED: The instance has completed the activity.
- COMPLETED: The instance has finished its flow normally. Completed
instances exist in the End activity.
- EXCEPTION: The instance is currently in an exception handling flow.
- GRABBED: The instance is currently grabbed, and is currently in a Grab activity.
- NONE: No status is assigned to the instance.
- RUNNING: The instance is currently being executed.
- SUSPENDED: The instance was suspended. Deadlines and due transitions do
not fire for this instance.