talonic_process_script_test
Test a script step's current script on up to 10 recent records of this process, writing nothing: before and after per field, and ok. Needs one earlier run of the process (a test run is enough).
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 | — |
| step_id * | string | — |
Example
Example
// talonic_process_script_test({ "process_id": "1111…", "step_id": "s_script" })
{ "hash": "9f2c…", "ok": true, "results": [{ "before": { "vendor": "acme" }, "after": { "vendor": "ACME" } }] }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
Why does it say there is nothing to test on?+
The process has not run yet. Run it once in a test copy first.