op: continue
Skip to the next iteration of the enclosing for_each.
Allowed phases
| Phase | Status |
|---|---|
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_eachblock.
Related operations
See also
- Operations index — all ops by phase
- actions — rule structure and phases
- Intents: Rules — narrative examples