Package com.axelor.workflow.exec
Class RunPosition
java.lang.Object
com.axelor.workflow.exec.RunPosition
Where a run itself is: its root branch, the one position that belongs to no split. Returns the
row, since a walk reads its position several times and writes it once.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MetaWorkflowBranchof(MetaWorkflowRun run) The run's own position, or null for a run recorded after the fact rather than walked.static MetaWorkflowBranchThe same, by id.static MetaWorkflowBranchsave(MetaWorkflowBranch position) Save a position a caller has moved.static StringstoredVars(Long positionId) The run's stored variables, read past this transaction's copy of the row, for the guarded merge of what parallel branches wrote.
-
Method Details
-
of
The run's own position, or null for a run recorded after the fact rather than walked. -
of
The same, by id. -
save
Save a position a caller has moved. -
storedVars
The run's stored variables, read past this transaction's copy of the row, for the guarded merge of what parallel branches wrote.
-