This AI is still in early stages of development.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.

Availability

Requires:

  • Warzone 3.1 or above
  • Process 0.1 or above

 

  • No labels