Indicates whether the process is currently idle, running or aborting.
Syntax
Processes("myProcess").state
Notes
Do not update this property directly!
Possible values are:
PROCESS_STATE_IDLE – the process instance is not currently running
PROCESS_STATE_RUNNING – the process instance is currently running (eg. triggered by instance.run())
PROCESS_STATE_ABORT – the process instance is currently aborting its current run (eg. triggered by instance.abort() or due to Task return value).
PROCESS_STATE_DISABLED – the process instance is disabled (via instance.disable(), re-enable with instance.enable()), the current run will finish (if applicable), queued runs are discarded and no more runs can be queued.