talonic_process_copy
Copy a process as a new DRAFT in the same workspace, with the same steps, rules, people, destinations and approvers. Nothing runs until the copy is published. Use it for the same process at another site, team or document type, then change the copy with talonic_process_change.
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 | — |
| name | string | What the copy is called |
Example
Example
// talonic_process_copy({ "process_id": "1111…", "name": "Batch record release, Dunboyne" })
{ "id": "3333…", "name": "Batch record release, Dunboyne", "steps": 12, "stillOpen": [] }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 the copy run?+
No. It is a draft until it is published. Runs, versions and the address of the original are not copied.