Skip to content

State

Gets the current state of the work item.

1
readonly ( `"Completed"` | `"Created"` | `"Waiting"` | `"Committed"` | `"Join"` | `"SubWorkflow"` | `"Delegated"` | `"Killed"` ) myWorkItem.State

Remarks

This property is used to identify the current state of the work item. Possible values are:

  • Created: Created but not submitted yet.
  • Waiting: Waiting in the user's inbox and still active.
  • Committed: Committed by the user and closed but not yet processed.
  • Completed: Processed by the system and not active.
  • Join: Completed but waiting for an external event to continue.
  • SubWorkflow: Waiting for child workflows to complete.
  • Forwarded: User has forwarded the work item to another user.
  • Killed: Terminated by the system administrator.