talonic_process_form_preview
How a form step of the draft looks to the person filling it in: title, intro, button and fields with their kinds and choices.
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 | — |
| step_id * | string | — |
Example
Example
// talonic_process_form_preview({ "process_id": "1111…", "step_id": "s_form" })
{ "title": "New supplier", "intro": null, "submitLabel": "Send", "needsCode": false, "fields": [{ "key": "f_1", "label": "IBAN", "help": null, "required": true, "kind": "string", "choices": [] }] }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 I fill the form in from here?+
No. The preview only shows it.