talonic_process_check
What a draft still needs before it can go live (stillNeeded, per step), every problem the check finds, and what publishing would change against the live version. Call before talonic_process_publish and tell the user what is open.
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 | — |
Example
Example
// talonic_process_check({ "process_id": "1111…" })
{ "check": { "canPublish": false, "stillNeeded": [{ "stepId": "s_1", "key": "assignees", "message": "Who signs here? Choose a person, a role or a group." }], "problems": [] }, "changes": { "changes": [{ "type": "step_added", "text": "Manager approval added" }] } }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
Can a draft with open points be published?+
No. talonic_process_publish is refused while
canPublish is false.