Skip to main content

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

ParameterTypeDescription
process_id *string—
change *stringWhat should change, in plain words
step_idstringOnly this step's settings (id from talonic_process_get)
confirmedbooleanLeave out. true only after needs_confirmation was shown to the user and they agreed

Example

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?+
Nothing was saved. The change takes control away from people; show the user the listed points and send the same change with confirmed: true only if they agree.