I was looking for a way to combine the documents after multi threading activity is done.
One approach would be to place your multi-threading activity in a sub-process. You can combine the documents after they are returned from the sub-process.
+1 on Lee Sobotkin's comment. The Return Documents shape waits for all execution paths (include those in multiple threads spawned from a Flow Control shape) before returning a single group of documents to the calling process.
Adam Arrowsmith.... thanks for the suggestion. The return document shape worked for me.
I think I tried this but will keep you posted with my findings...
As always thank you
Make sure the flow control shape is in the subprocess as well. Basically do all the multi-threading in the subprocess.
Retrieving data ...