Hi,
Hope all is well,
I have a Workflow that will populate the fields based on a Database lookup as shown below:
Basically, I am having Import Agent bring the files in, then use Workflow to populate the fields that are based on a lookup in a SQL Table.
What works:
If I do a test on 1 file at a time, it populated the fields and moves the file as required.
NOTE: (in the WF, the "for each entry" and "wait" condition were not in the WF initially).
What does not work at the moment:
When I add the "For Each Entry" and run it as a Business Process, the files are moved from the monitoring folder to the destination with the Template attached but the metadata is not populated.
I know it is due to timing as it requires to do a table lookup, but adding a "Wait" condition does not allow me to specify the External Lookup as the result? Or does it? When I have the "Wait" condition set, I specify the below:
Ideal solution, I would like for the files to move to the folder with the 5 lookup fields all populated before being moved. There are about 1500+ documents that need to be moved between each folder being monitored.
Thoughts? or ideas would be much appreciated,
Thank you in advance,
Regards
Ziad Khamo