op: continue

Skip to the next iteration of the enclosing for_each.

Allowed phases

PhaseStatus
preflight✓ allowed
core✓ allowed
side_effects✓ allowed

Syntax

- op: for_each
  for_each: "entity.items ?: []"
  then:
    - op: if
      expr: "item.archived == true"
      then:
        - op: continue
    - op: emit
      event_type: ITEM_PROCESSED
      payload:
        item_id: "item.id"

Parameters

No parameters.

Behavior

  • Only valid inside a for_each block.

stop · for_each

See also