Server side question: Why does the While action not behave like Repeat?
I understand, a repeat iterates through an array, and While executes the steps until the expression evaluates to false. All good there.
My question relates to Scope of variables and output.
In a repeat, it has its own local scope…setting values within a repeat are local to that repeat, unless we use the global option. And the output from within the repeat is retained for each iteration, by placing the output within the array of the repeat.
However, in the while action, the output only displays the last values set.
Is this by design? If so, why? And can we have a while action that behaves like a repeat in terms of scope and output?
An example:
While:
While results:
Repeat:
Repeat results:
Last updated: