How is the workflow for batches, from creation to done
The workflow for a batch is pretty simple, it gets created, is waiting for separation (if configured) and once all associated documents of the batch are done it switches to done itself.
The following batch attributes show the current workflow status of a batch:
pending, in_progress, done, failed
To get a list of all batch attributes see Schema: Batches
|Inbound||pending||Waiting to be picked up by a backend task. This status should only be visible 1-2 seconds after upload.|
Batch is waiting to be processed in Separation Validation, there are no documents created for this batch yet
Also the state after Separation as long as there are un-done documents in the batch.
|Done||done||All documents inside of the batch have the status "done"|
I strongly recommend the following articles, going into detail about how a batch is related to documents, pages and especially input_files and the batch schema.
Also, check out our Postman API Documentation