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

Question

Question

End workflow if DCC reaches OCR job capacity

asked on February 27, 2018 Show version history

I have a workflow that adds 100 documents to the OCR queue, then waits 4 minutes before adding another 100 documents, and continues until a certain time of day. The 4 minute delay is to try to avoid the 5000 active job OCR limit with DCC.

I also added a condition that if at any time the workflow activity to schedule OCR with DCC fails, end the workflow and notify me, because that is probably from hitting the 5000 active job limit. However, I've come to the realization that if the activity tries to schedule a job and can't due to the limit, the "schedule succeeded" token for the OCR activity is still "true," so the workflow continues unsuccessfully assigning new tasks.

Is there a way I can send the email and end the workflow if it his the active job limit?

0 0

Replies

replied on February 27, 2018

There's no limit to how many jobs DCC can have as far as i know. You may want to open a case with Tech Support and investigate the behavior you're seeing.

0 0
replied on February 27, 2018 Show version history

The limit is on active jobs, not on total jobs. As in jobs are getting stuck as "In Progress" and filling up the queue. I just changed the word "document" to "active job" in my post to clarify.

 

You've made reference to the limit before.

 

https://answers.laserfiche.com/questions/63025/DCC-Scheduler-at-Capacity#63031

0 0
replied on February 27, 2018

Oh, right. Sorry about that. blush

0 0
replied on February 27, 2018

Hi Brian,

Could you use a Try-Catch activity to try to schedule OCR and if it fails, send you an email?

~Rob

0 0
replied on February 27, 2018

Unfortunately try-catch only works on activities that throw an error. Since this only throws a warning, a try-catch won't be viable. Thank you for the attempt to help.

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

Sign in to reply to this post.