Edit on Github

Loop Flow

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

Schema

A loop flow of steps or nested flow control schemas. The loop will be repeated until a condition is met. The loop will be executed at least once. Once the condition evaluates to a truthy value the loop is broken and the loop flow is considered completed.

Loop Flow
looprequired
reference
Any
untilrequired
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 completion of the loop flow. A falsy value will trigger another iteration of the loop workflow.

Where is this used?

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