Edit on GitHub

For-Each Array 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 once per item in a given source array.

For-Each Array Flow
forEachrequired
reference
Member Name

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

inrequired
reference
Member Name

A source data field which will be iterated upon. The field must be defined as type array in the template. Modifications to the array length or item order during or after the iteration is not supported and will lead to undefined behavior.

dorequired
reference
Flow Control
Examples:
forEach: iterator
in: collection
do:
  - step1
  - step2
Where is this used?
Other schemas that have a reference ($ref) to this schema.

No references found.