fix PR comment for keeping status boolean and adding status conditionally
This commit is contained in:
parent
6f8f866b7e
commit
26f2c69fb9
|
@ -470,13 +470,15 @@ class Orchestrator {
|
||||||
success: true,
|
success: true,
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
success: reachedMaxIterations
|
success: true,
|
||||||
? AutomationStepStatus.MAX_ITERATIONS
|
|
||||||
: true,
|
|
||||||
items: this.loopStepOutputs,
|
items: this.loopStepOutputs,
|
||||||
iterations: iterationCount,
|
iterations: iterationCount,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (reachedMaxIterations && iterations !== 0) {
|
||||||
|
tempOutput.status = AutomationStepStatus.MAX_ITERATIONS
|
||||||
|
}
|
||||||
|
|
||||||
// Loop Step clean up
|
// Loop Step clean up
|
||||||
this.executionOutput.steps.splice(pathStepIdx, 0, {
|
this.executionOutput.steps.splice(pathStepIdx, 0, {
|
||||||
id: steps[stepToLoopIndex].id,
|
id: steps[stepToLoopIndex].id,
|
||||||
|
|
Loading…
Reference in New Issue