Edit on Github

While Flow

A schema that is used to validate a part of Laboperator workflow templates.

Schema

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.

While Flow
whilerequired
reference
#/definitions/script

The condition has access to all fields of the workflow. Any string result or numerical result other then zero will be considered truthy and trigger another iteration of the do flow. A falsy value will trigger completion of the while loop flow.

dorequired
reference
Any

Where is this used?

Other schemas that have a reference ($ref) to this schema.