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.
Question
Question
Replies
Does it start but doesn't run the query data activity? Or it doesn't start at all?
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.
I'm sorry, that doesn't quite make sense to me. Is this one workflow that loops through all the documents?
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?
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.
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?
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.
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?
Because, if I don't have the find entries, the for each entry doesn't have an Activity and Output entries to use..