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: reachedMaxIterations
|
||||
? AutomationStepStatus.MAX_ITERATIONS
|
||||
: true,
|
||||
success: true,
|
||||
items: this.loopStepOutputs,
|
||||
iterations: iterationCount,
|
||||
}
|
||||
|
||||
if (reachedMaxIterations && iterations !== 0) {
|
||||
tempOutput.status = AutomationStepStatus.MAX_ITERATIONS
|
||||
}
|
||||
|
||||
// Loop Step clean up
|
||||
this.executionOutput.steps.splice(pathStepIdx, 0, {
|
||||
id: steps[stepToLoopIndex].id,
|
||||
|
|
Loading…
Reference in New Issue