Class Parks

java.lang.Object
com.axelor.workflow.step.Parks

public final class Parks extends Object
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 Details

    • deferred

      public static StepOutcome deferred(WorkflowPlan.Step step, WorkflowRunContext context)
      For an async node: 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

      public static boolean backgroundPending(String model, Long recordId)
      Whether a run on the record is parked at an async node, whose work has yet to commit.