Retrieves the status of a doc extraction run started by the Start Doc Extraction Smart Service.
Doc extraction runs can only be queried by a user with access to the original document, started by the Start Doc Extraction Smart Service.
The Appian Document Extraction page walks you through how to use document extraction functionality together in a process model. See the following list for the other smart services and functions you need to use with the Doc Extraction Status Function:
a!docExtractionStatus( docExtractionId )
The following statuses can be returned:
COMPLETE
: Analysis is done and Appian has downloaded the results, you can now proceed to extract results using a!docExtractionResult() or Reconcile Doc Extraction Smart Service.IN PROGRESS
: Analysis is still in progress. Appian recommends checking again in 60 seconds.INVALID ID
:
ERROR
: Internal evaluation error happened during processing.
a!docExtractionStatus(docExtractionId: 25)
Where 25 is a valid docExtractionId.
See the Appian Document Extraction page for a full end to end example.
The doc extraction status can only be accessed by a user who has permissions to the original document.
Appian will delete document extraction runs after 30 days, or when the total amount of data surpasses 10 GB. If you attempt to access a run that has been deleted, you will see INVALID ID
.