Added offset for loop automation context updates. The error cases and feedback were displaying in the wrong steps.
This commit is contained in:
parent
80526ad9b7
commit
23a3643859
|
@ -400,7 +400,7 @@ class Orchestrator {
|
|||
)
|
||||
} catch (err) {
|
||||
this.updateContextAndOutput(
|
||||
pathStepIdx,
|
||||
pathStepIdx + 1,
|
||||
steps[stepToLoopIndex],
|
||||
{},
|
||||
{
|
||||
|
@ -420,7 +420,7 @@ class Orchestrator {
|
|||
(loopStep.inputs.iterations && loopStepIndex === maxIterations)
|
||||
) {
|
||||
this.updateContextAndOutput(
|
||||
pathStepIdx,
|
||||
pathStepIdx + 1,
|
||||
steps[stepToLoopIndex],
|
||||
{
|
||||
items: this.loopStepOutputs,
|
||||
|
@ -447,7 +447,7 @@ class Orchestrator {
|
|||
|
||||
if (isFailure) {
|
||||
this.updateContextAndOutput(
|
||||
pathStepIdx,
|
||||
pathStepIdx + 1,
|
||||
steps[stepToLoopIndex],
|
||||
{
|
||||
items: this.loopStepOutputs,
|
||||
|
|
Loading…
Reference in New Issue