Skip to content

State

Gets the state of the instance.

Allowed Values

  • Completed
  • Created
  • Active
  • Terminated

Type

( "Completed" | "Created" | "Active" | "Terminated" )

Declaration

1
readonly ( "Completed" | "Created" | "Active" | "Terminated" ) myInstance.State

Remarks

The values are:

  • Created: the instance has started, but no work item is waiting for a user yet.
  • Active: at least one work item of the instance is waiting to be completed.
  • Completed: the instance has finished.
  • Terminated: the instance was terminated, for example with Instance.Terminate. Active child instances of its work items are terminated with it.