Edit on GitHub

For-Each Integer Flow

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

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
Flow Control
Examples:
forEach: iterator
to: 10
do:
  - step1
  - step2
forEach: iterator
step: 2
to: 10
do:
  - step1
  - step2
forEach: iterator
step: iterator
to: boundary
do:
  - step1
  - step2
Where is this used?
Other schemas that have a reference ($ref) to this schema.

No references found.