You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Schedule OCR then delay while entry is locked

posted on October 27, 2020

Hi All,

I'm not sure if someone else has come up with this way of doing things, but I thought I would share my findings.

Basically, I have a workflow that uses the Schedule OCR feature. Then, using a repeat condition with a 1 minute delay, I check the entry (using Find Entry) to see if it is locked by the OCR function still. Once the entry is no longer locked, we can safely assume that the document has completed the OCR process and can continue down the workflow.

Let me know if you have any questions or even a better way of waiting until the OCR process is complete.

 

Jonathan

0 0
replied on October 28, 2020

OCR through Distributed Computing Cluster is asynchronous, the work requests are queued. So there is no guarantee that the entry would be locked by the time you reach the Repeat loop. More likely than not, it won't be.

You can wait for an entry change that contains "page written" events.

1 0
replied on October 28, 2020

Thanks for your feedback Miruna. 

Can you elaborate on the "page written" events? I couldn't see anything similar to that on the 'Wait for entry to change' function in the workflow.

Also, the repeat loop has a 1 minute delay that runs before looping back. This 1 minute delay is sufficient in my instance to allow the entry to be locked by the DCC in time. 

Jonathan

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.