Skip to main content

talonic_process_examples

Examples are items kept from runs that a draft is checked against with talonic_process_evaluate. Without keep or remove this lists them. keep: { run_id, item_key, note? } keeps an item of a run (the way it went and what it ended with; replaces an earlier example of the same item). remove: example_id removes one.

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 *string—
keepobjectKeep this item of a run as an example
removestringThe id of an example to remove

Example

Example
// talonic_process_examples({ "process_id": "1111…", "keep": { "run_id": "2222…", "item_key": "doc-1" } })
{ "kept": true }

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

How many examples can a process keep?+
Up to 200 are listed and checked.