talonic_process_item
One item's way through a run, step by step (status, time, note such as why it stopped or where a mail went), and its values now. Item keys come from talonic_process_status.
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 | — |
| run_id * | string | — |
| item_key * | string | The item's key (documentId) from the run |
Example
Example
// talonic_process_item({ "process_id": "1111…", "run_id": "2222…", "item_key": "3333…" })
{ "steps": [{ "name": "Log it", "status": "stopped", "note": "The other system answered 500.", "canRetry": true }], "values": [{ "name": "amount", "value": 900 }] }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
Where do I see why an item failed?+
In the
note of the step that stopped.