Class UserTask.WorkItem.State

  • Enclosing interface:
    UserTask.WorkItem

    public static final class UserTask.WorkItem.State
    extends Object
    Since:
    5.2.3
    • Method Detail

      • isOffered

        public boolean isOffered()
        Returns true when the work item is offered to a Role. In this state, the work item can be taken or allocated to a UserReference member of the specified Role.
      • isAllocated

        public boolean isAllocated()
        Returns true if the work item is allocated to a UserReference, but has not yet been started.
      • isStarted

        public boolean isStarted()
        Returns true if the work item has been started by the UserReference to which it is allocated.
      • isCompleted

        public boolean isCompleted()
        Returns true if the work item has been completed, which means the UserReference has finished its task and saved their decision.
      • isError

        public boolean isError()
        Returns true if the work item is in error.