Package com.axelor.workflow.exec
Interface StepOutcome
- All Known Implementing Classes:
StepOutcome.Absorbed,StepOutcome.Activated,StepOutcome.Blocked,StepOutcome.Continue,StepOutcome.Done,StepOutcome.Fork,StepOutcome.Park,StepOutcome.Terminated
public sealed interface StepOutcome
permits StepOutcome.Continue, StepOutcome.Fork, StepOutcome.Done, StepOutcome.Terminated, StepOutcome.Park, StepOutcome.Activated, StepOutcome.Blocked, StepOutcome.Absorbed
What a step's execution tells the walker to do next. Failures throw
WorkflowFailure
instead.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordStand down at a<task>whose approval is already pending from an earlier run.static final recordAn iterating<call>wrote an activation and the run waits on it, with no key of its own.static final recordSomething inside a subflow's region had to wait.static final recordAdvance to a single next node.static final recordThe walk reached a plain end.static final recordFan out into every flow the split selected, in declaration order;joinis the barrier the branches stop at.static final recordPark at a node that waits: the run is left waiting rather than finished.static final recordThe walk reached a terminate end: this run is over, whatever else is still in flight.