Package com.axelor.meta.schema.workflows
Class TaskNode
java.lang.Object
com.axelor.meta.schema.workflows.AbstractWorkflowNode
com.axelor.meta.schema.workflows.TaskNode
- All Implemented Interfaces:
WorkflowNode
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionJavaScript resolving to the User the task is assigned to.Shown to someone who tries to approve whilewhenis still false.Which actions require a comment.getGroup()getNext()getRole()getUser()A fixed assignee's login.getWhen()voidsetAllowCancel(Boolean allowCancel) voidsetAllowForceComplete(Boolean allowForceComplete) voidsetAllowReject(Boolean allowReject) voidsetAssignee(String assignee) voidsetAutoComplete(Boolean autoComplete) voidsetBlocked(String blocked) voidsetComment(CommentMode comment) voidvoidsetMaxVisits(Integer maxVisits) voidvoidvoidvoidtype()The element name (start,script, ...), matching the@JsonSubTypesnames.Methods inherited from class com.axelor.meta.schema.workflows.AbstractWorkflowNode
getDescription, getId, getTitle, setDescription, setId, setTitle
-
Constructor Details
-
TaskNode
public TaskNode()
-
-
Method Details
-
type
Description copied from interface:WorkflowNodeThe element name (start,script, ...), matching the@JsonSubTypesnames. NotgetType(), so bean scanning ignores it. -
getAssignee
JavaScript resolving to the User the task is assigned to. -
setAssignee
-
getUser
A fixed assignee's login. -
setUser
-
getRole
-
setRole
-
getGroup
-
setGroup
-
getComment
Which actions require a comment. -
setComment
-
getNext
-
setNext
-
getWhen
-
setWhen
-
getAutoComplete
-
setAutoComplete
-
getAllowReject
-
setAllowReject
-
getAllowForceComplete
-
setAllowForceComplete
-
getAllowCancel
-
setAllowCancel
-
getBlocked
Shown to someone who tries to approve whilewhenis still false. -
setBlocked
-
getMaxVisits
-
setMaxVisits
-