Edit on Github

For-Each Integer Flow

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

Schema

An iteration flow of steps or nested flow control schemas. The loop will be iterated up to the given limit of an iterator integer.

For-Each Integer Flow
forEachrequired
reference
Member Name

An intermediate iterator field which holds the index of current iteration. The field must be defined in the template as type integer.

step
integer or reference
Default: 1

The number by which to increase or decrease the forEach iterator integer.

One of
  • integer
  • Member Name
integer
torequired
integer or reference

The limit value at which the flow execution will break out of the loop. The check will be done exclusively.

For example, given the following definition:

forEach: iterator
to: 5
do: something

The iteration will happens 5 times, during which the iterator field will be assigned the value of 0,1,2,3, and 4 respectively.

One of
  • integer
  • Member Name
integer
dorequired
reference
Any

Where is this used?

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