process_run_step_fail
Report a failed attempt of the current step of a Process instance.
Under the step's max_attempts a retry is scheduled on a deadline timer
(outcome: retry_scheduled); at the limit the step is escalated
(outcome: escalated) and a Work item is opened for a person to retry,
take over or close the run. A step with no policy escalates at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | The run's current step that just failed | |
| agent | No | Override agent attribution label | |
| reason | Yes | Why the attempt failed; kept on the timeline | |
| run_id | Yes | Process run UUID | |
| attempt | No | The attempt number you saw fail; a repeat or stale report is refused |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||