If I have return document in a process placed on end of one of the branch , will the return document will wait for execution of all documents along all paths
It will wait fir all the documents and batch them to the calling process,provided it will batch only in the path where return documents is there.
I mean If you have a branch with 2 paths, In one oath, you have used the return documents at the end. In the second path, there is no return documents and you placed stop at the end. Now, as the branch executes sequentially, it will batch all the documents/results in the first path and then send to parent process. It will not wait for the second branch as far I know. Correct Me I am wrong.
Retrieving data ...