talonic_process_try
Walk the draft with made-up values (by field id, from talonic_process_get) and sign-off choices (by step id): the steps an item would take and where it stops. Runs nothing and sends nothing.
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 | — |
| values | object | Values by field id |
| choices | object | Sign-off choices by step id |
Example
Example
// talonic_process_try({ "process_id": "1111…", "values": { "f_amount": 12000 } })
{ "path": ["s_source", "s_check", "s_approval"], "stop": "waits for a sign-off" }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 use real documents?+
No. Use talonic_process_test_run for that.