Update document result
Write corrected field values back to a read document (G6). The values are kept as a review by the run's user, so the document then counts as approved.
Command in the Document Automation toolkit · id ooa.documents/update_result · 2 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Document ID | String | Yes | The document id that Send document to process gave (or a document_id input given by a Start-a-bot delivery). | |
| Fields | Any | Yes | The corrected values by field name: a Dictionary, or JSON text such as {"total": "110.00"}. Fields left out keep their values. |
Outputs
| Output | Type | What it is |
|---|---|---|
| status | String | The document's status after the change (validated when approved). |
| fields | Dictionary | The document's fields after the change, by name. |