Package com.axelor.workflow.step
Class TaskSteps
java.lang.Object
com.axelor.workflow.step.TaskSteps
Compiles and executes a
<task>: the walk parks until a person completes the task, then
continues to next.-
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowPlan.Stepstatic StepOutcomeexecute(WorkflowPlan.TaskStep step, WorkflowRunContext context) Save aMetaWorkflowTaskfor this node and park on it, or, withautoCompleteand awhenthat already holds, complete it on the spot and continue.Its own edge only; a boundary declares its own target.
-
Method Details
-
compile
public static WorkflowPlan.Step compile(TaskNode node, List<BoundaryNode> boundaries, List<Violation> sink) -
targets
Its own edge only; a boundary declares its own target. -
execute
Save aMetaWorkflowTaskfor this node and park on it, or, withautoCompleteand awhenthat already holds, complete it on the spot and continue. The completed row is still saved, sotask.*reads the same either way.
-