Skip to main content

talonic_process_run

Start a published process for one item with values by field name, e.g. {"Vendor": "Acme", "Amount": 1200}. Only for processes whose items are posted (started by hand, by another system or by a form). Returns the run id, and the process's reply when it has a reply step. Starting a process can send mail, call other systems and ask people to sign: 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

  • Not read-only. It can add to or change workspace data.

Parameters

ParameterTypeDescription
process_id *stringThe process id from talonic_process_list
values *objectValues by field name

Example

Example
// talonic_process_run({ "process_id": "11111111-1111-4111-8111-111111111111", "values": { "Vendor": "Acme", "Amount": 1200 } })
{ "runId": "22222222-2222-4222-8222-222222222222", "process": "Vendor bank details change", "reply": { "status": 200, "body": "Received" } }

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

Is it a write?+
Yes. It needs permission to run processes and the write scope, and it is marked as a write.