Parallel activity example

“The ParallelActivity activity lets you schedule two or more child SequenceActivity activity branches for processing at the same time. Although branch SequenceActivity activities are scheduled to start processing at the same time, they do not start processing at the same time. Processing begins with the execution of one activity that is contained in one of the SequenceActivity branches. When that activity is completed, the next activity in sequence in another branch executes, and so on. Activity execution switches between the SequenceActivity branches, with one activity executing at a time until all the SequenceActivity branches finish executing. This completes the processing of the ParallelActivity activity. ParallelActivity does not guarantee the exact order of execution across the SequenceActivity branches.”

An excerpt from the MSDN site says that, the activities within each sequence are completed one after the other i.e. Activity 1 starts inside sequence 1, and then the control switches to Activity 1 inside sequence 2 until Activity 1 is completed inside all sequences. But according to the workflow made by @Poovarasan2, all the three notepad TypeInto activities complete in the same time. Is my understanding wrong somehow?

2 Likes