Class TaskNode

All Implemented Interfaces:
WorkflowNode

public final class TaskNode extends AbstractWorkflowNode
A human task: the walk parks until a person completes it, then continues to next. An assignee (assignee expression or user login) and a candidate pool (role, group) may coexist; at least one is required.

when gates approval, showing <blocked> while false; with autoComplete it also completes the task by itself. allowReject, allowForceComplete and allowCancel, all default true, say whether those actions exist at all.

  • Constructor Details

    • TaskNode

      public TaskNode()
  • Method Details

    • type

      public String type()
      Description copied from interface: WorkflowNode
      The element name (start, script, ...), matching the @JsonSubTypes names. Not getType(), so bean scanning ignores it.
    • getAssignee

      public String getAssignee()
      JavaScript resolving to the User the task is assigned to.
    • setAssignee

      public void setAssignee(String assignee)
    • getUser

      public String getUser()
      A fixed assignee's login.
    • setUser

      public void setUser(String user)
    • getRole

      public String getRole()
    • setRole

      public void setRole(String role)
    • getGroup

      public String getGroup()
    • setGroup

      public void setGroup(String group)
    • getComment

      public CommentMode getComment()
      Which actions require a comment.
    • setComment

      public void setComment(CommentMode comment)
    • getNext

      public String getNext()
    • setNext

      public void setNext(String next)
    • getWhen

      public String getWhen()
    • setWhen

      public void setWhen(String when)
    • getAutoComplete

      public Boolean getAutoComplete()
    • setAutoComplete

      public void setAutoComplete(Boolean autoComplete)
    • getAllowReject

      public Boolean getAllowReject()
    • setAllowReject

      public void setAllowReject(Boolean allowReject)
    • getAllowForceComplete

      public Boolean getAllowForceComplete()
    • setAllowForceComplete

      public void setAllowForceComplete(Boolean allowForceComplete)
    • getAllowCancel

      public Boolean getAllowCancel()
    • setAllowCancel

      public void setAllowCancel(Boolean allowCancel)
    • getBlocked

      public String getBlocked()
      Shown to someone who tries to approve while when is still false.
    • setBlocked

      public void setBlocked(String blocked)
    • getMaxVisits

      public Integer getMaxVisits()
    • setMaxVisits

      public void setMaxVisits(Integer maxVisits)