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

Question

Question

Workflow not starting on all new documents

asked on January 10, 2017

we are importing about 3000 documents. We have a csv file that workflow is using as a lookup to fill in metadata based on the file name. The workflow is working but for some reason it does not run on all documents every time. We are importing in a large batch. 

0 0

Replies

replied on January 10, 2017

Does it start but doesn't run the query data activity? Or it doesn't start at all? 

0 0
replied on January 10, 2017

No, it runs, but some documents are skipped. So, if I import in 10 documents, 98% of the time there will be 2 or 3 left over that didn't get run through the workflow.

0 0
replied on January 10, 2017

I'm sorry, that doesn't quite make sense to me. Is this one workflow that loops through all the documents?

0 0
replied on March 27, 2017

Since you can reproduce it with a lower number of documents, can you add a Track Tokens in the loop to check that you have the right names at each iteration and that Query Data does get results each time?

0 0
replied on January 10, 2017

Yes, you are right. Below is the workflow. Is there a better way to do it? Basically, for each entry I am getting the metadata for each file and then creating the folder it goes in based on the metadata.

0 0
replied on January 10, 2017

So...when a document is  created, you get all the documents in some folder related to this starting entry and process them?

If you look at the instance details, does Find Entries return the correct number of documents?

0 0
replied on January 10, 2017 Show version history

Yes, All documents are imported into a folder called "workflow import" once they hit that folder the workflow should start. The finder does find all the entries.

find entries.png
find entries.png (292.93 KB)
0 0
replied on January 10, 2017 Show version history

Why do you need the Find Entries activity?  Maybe a conflict?  If the workflow starts when a document hits the folder then you don't need to find them again.  Each one will go through the workflow.  Is the starting document (imported one) not the one being moved to the folder?

0 0
replied on March 21, 2017

Because, if I don't have the find entries, the for each entry doesn't have an Activity and Output entries to use..

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

Sign in to reply to this post.