Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.
Endpoint Management Community Blog

Ensuring Parallel Workflow Tasks are Allowed to Complete

Created: 03 Jun 2008 • Updated: 06 Oct 2008 • 1 comment
scottwed's picture
0 0 Votes
Login to vote

In some situations, your workflow process may need to be split into two or more separate streams. For example, you might need to have three people approve a request before continuing. If you did them sequentially, it would take a lot longer to obtain all the necessary approvals.

Updated: Correction, the parallel tasks are not discarded upon the first path reaching an end point. However, the practice of merging is still extremely important to avoid accidental firing of downstream tasks and data dependencies that may not exist. To implement merging, execute the following steps.

Add the Workflow.Advanced.dll to your project by clicking on the "Import Components" button in the left pane of the Designer interface. Select the highlighted item and click Add.

Choose from one of the Merge components under Workflow Components > Merge. I prefer the one that allows me to be very specific (see below).

Ensure that the new merge component is placed before the End component. While not absolutely necessary, it's easier to comprehend if you connect all workflows to eventually route through the merge component.

Edit the merge component, and enable the checkbox for each parallel workflow that must be completed prior to finishing the process:

Comments 1 CommentJump to latest comment

shemer77's picture

Thanks for this: especially this part

Ensure that the new merge component is placed before the End component. While not absolutely necessary, it's easier to comprehend if you connect all workflows to eventually route through the merge component.

You are right that it is not absolutely necessary but boy does it help!

-7
Login to vote