talonic_process_change
Change a process draft from an instruction in plain words: add, remove or reorder steps, change who decides, what is sent, any setting. With step_id only that step's settings change. Touches the draft only; the live version stays until talonic_process_publish. If the answer is needs_confirmation, NOTHING was saved: the change means fewer people or checks look at items. Tell the user exactly those points and ask; call again with confirmed: true only after they said yes, never on a first call.
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 | — |
| change * | string | What should change, in plain words |
| step_id | string | Only this step's settings (id from talonic_process_get) |
| confirmed | boolean | Leave out. true only after needs_confirmation was shown to the user and they agreed |
Example
// talonic_process_change({ "process_id": "1111…", "change": "Remove the manager approval." })
{ "status": "needs_confirmation", "reductions": ["\"Manager approval\" is removed: nobody signs or reviews there any more."] }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
What does needs_confirmation mean?+
confirmed: true only if they agree.