talonic_process_rollback
Make an earlier published version live again. Changes what runs for real: call only when the user asks for it.
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
- Changes workspace data and can't be undone. Call it only when the user asked.
Parameters
| Parameter | Type | Description |
|---|---|---|
| process_id * | string | — |
| version * | integer | The version number to make live again Range: 1 to 9007199254740991. |
Example
Example
// talonic_process_rollback({ "process_id": "1111…", "version": 2 })
{ "version": 2 }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
Does a rollback change the draft?+
No. The draft stays as it is; only the live version changes.