core.loop.start
Open a do-while control-flow region.
This action does not take input fields.
Examples
Repeat until a condition is met
- ref: loop_start
action: core.loop.start
- ref: check_status
action: core.http_request
depends_on:
- loop_start
args:
url: https://api.example.com/jobs/${{ TRIGGER.job_id }}
method: GET
- ref: loop_end
action: core.loop.end
depends_on:
- check_status
args:
condition: ${{ ACTIONS.check_status.result.data.status != "completed" }}
max_iterations: 20
core.loop.end
Close a do-while control-flow region and evaluate whether execution should loop back to the matching core.loop.start.
Expression evaluated after the loop body; truthy values continue looping.
Maximum number of loop iterations before failing.Default: 100.
Examples
Repeat until a condition is met
- ref: loop_start
action: core.loop.start
- ref: check_status
action: core.http_request
depends_on:
- loop_start
args:
url: https://api.example.com/jobs/${{ TRIGGER.job_id }}
method: GET
- ref: loop_end
action: core.loop.end
depends_on:
- check_status
args:
condition: ${{ ACTIONS.check_status.result.data.status != "completed" }}
max_iterations: 20