While Flow
A schema that is used to validate a part of Laboperator workflow templates.
A while loop flow of steps or nested flow control schemas. The while loop will be repeated as long as a condition is met. The while loop will never be executed if the conditions evaluates to false initially. Once the condition evaluates to a falsy value the loop is broken and the while loop flow is considered completed.
whilerequired | reference ScriptThe condition has access to all global fields of the workflow. Local step fields cannot be referenced in a condition. Any string result or numerical result other then zero will be considered truthy and trigger execution of the |
---|---|
dorequired |
Examples:
while: field1 > 100
do:
- step1
- step2
while: field1 != field2
do: step3