talonic_process_get
One process with its draft: fields, steps (id, kind, name, settings) and the arrows between them. Use it to see step ids before talonic_process_change with step_id, or to read what a process does.
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
- Reads only. It never changes workspace data.
- Cost: no credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
| process_id * | string | The process id from talonic_process_list |
Example
Example
// talonic_process_get({ "process_id": "1111…" })
{ "id": "1111…", "name": "Invoice approval", "activeVersion": 2, "draft": { "fields": [], "steps": [{ "id": "s_1", "kind": "approval", "name": "Manager approval" }], "flow": [] } }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 it return the live version or the draft?+
The draft.
activeVersion says which published version is live; talonic_process_check shows how the draft differs from it.