Skip to main content

List finished documents

List a process's documents that are read and need nothing more (read and checked, approved or rejected) and are not yet marked collected.

Command in the Document Automation toolkit · id ooa.documents/list_finished · 5 inputs (1 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
ProcessStringYesThe process's name (or id) as shown in Document Automation.
Reviewed onlyBooleanNofalseOnly documents a person approved or rejected (not those read and checked without a review).
CollectorStringNoA name for whoever collects: agents with the same name share the collected marks, so none takes a document twice. Empty: default.
Include collectedBooleanNofalseAlso list documents already marked collected.
LimitNumberNo100At most this many documents.

Outputs​

OutputTypeWhat it is
documentsTableColumns: document_id, file_name, status, document_type, created_at, reviewed_by, collected.
document_idsListThe documents' ids, for a loop or for Mark collected.
countNumberHow many documents are listed.