talonic_process_send_back
Send items back from a sign-off step with a reason, for the caller: the opposite of talonic_process_sign. Allowed only where the caller is assigned. Moves real work: call only when the user decides.
Availability
Listed when your workspace role has the Process Plane view permission. Changing, publishing and signing are checked again on every call against your role in the process.
Behaviour and cost
- Not read-only. It can add to or change workspace data.
Parameters
| Parameter | Type | Description |
|---|---|---|
| process_id * | string | — |
| run_id * | string | — |
| step_id * | string | — |
| items * | string[] | Item keys |
| reason * | string | Why they go back, in the user's words |
Example
Example
// talonic_process_send_back({ "process_id": "1111…", "run_id": "2222…", "step_id": "s_1", "items": ["3333…"], "reason": "Amount does not match the order" })
{ "sentBack": 1 }Errors
A failed call comes back as a tool error with the HTTP status and a message that says what to change. Troubleshooting lists the common ones.
Frequently asked questions
Where do sent-back items go?+
To where the process says: the step before, or the step its settings name for stopped items.