The open (un-exited) StageEntry matching currentStage, or
undefined. On loop-backs (re-entering a stage) several entries share
a name — the prior ones have exitedAt set, the current one does not.
Reads the stages + currentStage shape shared by the persisted
WorkflowInstance and the engine's mutable copy.
The open (un-exited) StageEntry matching
currentStage, orundefined. On loop-backs (re-entering a stage) several entries share a name — the prior ones haveexitedAtset, the current one does not. Reads thestages+currentStageshape shared by the persistedWorkflowInstanceand the engine's mutable copy.