Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Document IDStringYesThe document id that Send document to process gave (or a document_id input given by a Start-a-bot delivery).
FieldsAnyYesThe corrected values by field name: a Dictionary, or JSON text such as {"total": "110.00"}. Fields left out keep their values.

Outputs​

OutputTypeWhat it is
statusStringThe document's status after the change (validated when approved).
fieldsDictionaryThe document's fields after the change, by name.