Skip to main content

Parallel processing in Pega applications

You can configure a Stage to run multiple Processes in parallel. This configuration allows users to perform Tasks independently to complete the work in a Stage. For example, in the recruitment Stage, you can include a Process for interviewing a candidate. In the same Stage, you can include a Process for verifying a candidate's job history. Both Processes can be started and completed independently. When the interview and job verification are completed, the Case moves to the next Stage.

For more complex parallel processing requirements, Pega provides the Split Join shape, the Split For Each shape, and the spinoff option in the Subprocess shape.

The Process to which you add the shape is called the main Process. The shapes call one or more subprocesses that proceed in parallel.

Note: Review the locking strategy and consider switching to the multiple user locking strategy. If concurrent access occurs, a user might need to refresh the Assignment if another user makes changes at the same time. Learn more about Case locking later in the mission.

Split Join

You use the Split Join shape to call multiple independent Processes that operate in parallel and, later, rejoin. The following image shows a Process flow with a Split Join shape.

Mortgage Info Split Join

For example, a mortgage application Process may require that a user validates the home buyer's credit history. At the same time, another user must perform a title search. Both of these Processes are unrelated and can be performed in subprocesses that proceed independently and in parallel. When the subprocesses are complete, the main mortgage application Process can continue. This is similar to a parallel Process in the Case Life Cycle; when all the Processes in a Stage are completed, the Case enters the next Stage or is resolved.

Split join diagram

However, the Split Join shape gives you the flexibility to use join Conditions that determine when the primary Process can continue. The join Condition may iterate over a When Condition or a count to determine when to resume the flow. For instance, a Split Join may include three separate approval subprocesses. You can specify that only two of the three approvals must be completed before resuming the main flow.

Split For Each

A Split For Each shape allows you to run one subprocess multiple times by iterating through a set of records stored in a page list or page group. When the items on the list have been processed, the main flow continues. The following image shows a Process flow with a Split For Each shape.

Purchase order split for each

For example, you can use a Split For Each to iterate over a list of vendors and send a quote request from each vendor on the list. Like the Split Join, you can use a join Condition to control when the primary Process resumes. If you use an iterate join Condition, you can start flows for elements of the Page Group or Page List property one by one and configure testing Conditions to determine whether to continue.

Split for each diagram


The spinoff option in the Subprocess shape allows you to run the subprocess in parallel with the main flow. The main Process does not wait for the subprocess to complete before proceeding. The subprocess does not rejoin the main Process. The following image shows a Process flow with a Subprocess shape with the Spinoff option enabled.


For example, if the inventory is low on a product when a customer places an order, you spin off a subprocess to reorder from the supplier. The main Process is unaffected by the subprocess and continues. The spinoff option is an advanced feature in the Subprocess shape and is accessed in the flow diagram.

Spinoff diagram

Check your knowledge with the following interactions:

This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

100% found this content useful

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice