(info) This AI is still in early stages of development.

instance.state

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

Â