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

Question

Question

Maximum Invoke

asked on August 23, 2018 Show version history

I saw a few other posts, but where can I go to get instructions on how to expand this limit?  I am doing a massive conversion and I need to search for documents in folders and move them.  The search repository activity has been running for an hour and a half with no returns.  Find entries returns immediately.  

There are thousands of documents in folders numbered 0-1023.

I do a Find Entries at Path\Folder %FolderNumber.  Do my move, then add 1 to the %FolderNumber and then invoke the same workflow.  Works great, except is stops after 32 iterations.  I'd rather not run this workflow over 35 times having to keep track of where the folder left off.

So I created a duplicate workflow.  Passed forward tokens with the folder and the number of invokes.  After 20 invokes, I invoke the other workflow (which does the same thing).  I am trying to bounce back and forth between workflows to get around this invoke limit. 

In each workflow I have a check for the folder number.  If its higher that 1023, end workflow so this will not go on forever (I have tested this using smaller ranges and such).

This works great but workflow still recognizes the 32 invokes even though different workflows are being done.  This is just 1 of 5 cabinets by the way so I'd have to manually run this 150+ times.

I get the need to limit so users don't accidentally infinite crash their server but I'd like to know where this limit can be changed, otherwise our conversions will simply never finish or take week or months instead of days.

I believe Miruna said to contact support or something to get this info?  Or our Laserfiche rep?

 

Thanks,

Chris

 

Edit:  After thinking a bit I did a Find Entries for the folders.  Then a for each entry another Find Entries for the documents.  Before the second Find Entries I am checking the Entry Name to make sure it is not one of the folders I don't want to go through the process.  So I guess I have a workaround.  I suppose my questions still stands for future possible issues.

0 0

Replies

replied on August 23, 2018

I don't know anything about this specific issue, however, is there any way that you can iterate over the top level folders, and then iterate over their contents?

Another option is to do these kinds of conversions using the SDK. You can move things around fast enough that the Starting Rules processor will get saturated and not be able to keep up.

0 0
replied on August 23, 2018

Yeah, unfortunately the conversion was handed back with other folders on the same level as the numbered folders that should not go through this process (lots and lots of documents).  Yes, much of the conversion is done in the SDK but I don't really know scripting and I was using workflow as kind of a teaching/training tool for the client as well.

0 0
replied on August 24, 2018

I would break out whatever conversion you're doing into its own workflow. Then use Find Entries to get the 0-1023 folders. For each one, invoke the conversion workflow. That would be more efficient because it would parallelize the conversion work and wouldn't run into the invocation limit.

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

Sign in to reply to this post.