Package com.axelor.workflow.step
Class SubflowSteps
java.lang.Object
com.axelor.workflow.step.SubflowSteps
Runs a
<call> or <subflow> over what its selector names: this record when none is
given, record, each element of each, or each row of filter. Items run
synchronously in the caller's transaction; a failed item fails the node, and rolling back on
FAILED is the caller's choice.-
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowPlan.Stepcompile(AbstractCallNode node, List<BoundaryNode> boundaries, List<Violation> sink) static StepOutcomeexecute(WorkflowPlan.Invocation step, WorkflowRunContext context) The written selector decides what runs; the compiler has refused more than one.static WorkflowPlan.SelectionselectionOf(AbstractCallNode node) What a call or subflow node runs on, as its compiled step carries it.targets(AbstractCallNode node) Its own edge only; a boundary declares its own target.
-
Method Details
-
selectionOf
What a call or subflow node runs on, as its compiled step carries it. -
compile
public static WorkflowPlan.Step compile(AbstractCallNode node, List<BoundaryNode> boundaries, List<Violation> sink) -
targets
Its own edge only; a boundary declares its own target. -
execute
The written selector decides what runs; the compiler has refused more than one.
-