The ENC07 - Process Unassigned Attachments queue is responsible for downloading the documents from the Hyland Temp File Service and archiving them as documents in OnBase. The following actions are executed by a Workflow timer:
-
A determination is made if the message item retrieved is the last one retrieved from the batch.
-
An XPath value is used to collect initial information from the message item including the Temp File ID, file extension, and the Encompass attachment GUID for unassigned attachments.
-
There are situations where a loan can be archived to OnBase more than once. Duplicate detection logic is implemented in the ENC07 - Unassigned Attachment Processing life cycle to prevent documents from being stored more than once. Using the Encompass attachment GUID property value, it is determined if a document already exists in OnBase with this Keyword Value. If a matching document is found, the file on the Temp File Service is deleted and not archived into OnBase. If a duplicate document was found, the message item is considered complete and routed to the ENC07 - Unassigned Attachment Processing Complete queue.
-
It is determined if a Temp File ID exists in order to archive the file to OnBase. If a Temp File ID does not exist, the message item is routed to the ENC07 - Retry Processing Unassigned Attachment queue.
-
Documents are archived to OnBase using the Create Document from REST Resource action. During the download process, the new OnBase document handle is stored as a Workflow property value. If an error occurs while downloading the document, the message item is routed to the ENC07 - Retry Processing Unassigned Attachment queue. If no error occurs, the message item transitions to the ENC07 - Unassigned Attachment Indexing queue.
Ad Hoc Tasks are available for this queue in the Tasks ribbon group of the Workflow ribbon. The following Ad Hoc Tasks are available:
Ad-Hoc Task |
Description |
---|---|
Process Unassigned Attachment |
Manually runs the actions executed by the timer in the ENC07 - Process Unassigned Attachments queue. |
Complete |
Manually transitions the selected message item to the ENC07 - Unassigned Attachment Processing Complete queue. |