Parse and Reject a Document
A 4-step recipe with Affinda. We can help you get access.
Recipe · 4 steps
Parse and Reject a Document
with Affinda
Parse a document then reject it if it failed, otherwise confirm it.
- Upload the file with wait=false so an identifier is returned for polling.
- Poll the document until meta.ready becomes true, then branch on whether processing failed.
- Reject the document because processing failed.
- Confirm the document because processing succeeded.
What you'll need to have ready
- workspace: The workspace identifier to upload the document into.
- file: The document file contents (binary) to upload.
For your developer
Arazzo workflow affinda:parse-and-reject-document, 4 operations: createDocument → getDocument → updateDocument → updateDocument. Specs on APIs.io.