Fuego.Lib : InstanceItemState

The InstanceItemState component is an Enumeration which defines the possible states for a Task in a process instance.

Attribute state of the Fuego.Papi.Instance component is of type Int but corresponds to the elements of the InstanceItemState Enumeration.

The valid statuses are:


Example

inst as Fuego.Papi.Instance
...
if inst.status == Int(InstanceItemState.ACTIVITY_COMPLETED) then
  ...
end