A While element is a Scope that will execute over and over again up until a set criteria is met. While-elements are especially useful in combination with Code elements, since it allows complex retries, loop checks and in some cases recursive behaviors.
A While element contains an Expression parameter as well as a Max iterations parameter. The While element will keep on executing for as long as the Expression is evaluated to true, and the max iteration count has not been reached. If Max iteration is reached a While element will throw an exception.
The return value of a While scope is the same as the last executed Return element.