Task Run
Advance a Task Run to its next phase
Open the next phase of a Task Run that is paused at a phase gate. Optionally guard the transition with expectedPhaseIndex: when set, the phase that would be opened must match, otherwise Flow rejects the advance so a stale client cannot open the wrong phase.
Task Runs are site-scoped; siteId must be the Site that owns the Task Run. Org must have an Infrastructure Provider entity. User must have authorization role with PROVIDER_ADMIN suffix.
post/v2/org/{org}/nico/task/run/{id}/advance
Request body
Response
Accepted. The advance request was accepted and the Task Run's last known state is returned.