Package com.axelor.workflow.step
Class Parks
java.lang.Object
com.axelor.workflow.step.Parks
A node's own park on the row the scheduler polls: the branch inside a split, since a run row
holds only one key and wake time, else the run's position.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbackgroundPending(String model, Long recordId) Whether a run on the record is parked at anasyncnode, whose work has yet to commit.static StepOutcomedeferred(WorkflowPlan.Step step, WorkflowRunContext context) For anasyncnode: the park to stop at on the pass that arrives, resumed on a worker right after this transaction commits, or null when the node runs now — on the resume that re-enters it, or when the walk has no run row to park on.
-
Method Details
-
deferred
For anasyncnode: the park to stop at on the pass that arrives, resumed on a worker right after this transaction commits, or null when the node runs now — on the resume that re-enters it, or when the walk has no run row to park on. -
backgroundPending
Whether a run on the record is parked at anasyncnode, whose work has yet to commit.
-