Skip to main content
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Conditional execution of Processes and Stages

Conditional execution

You can define conditions that control whether a process or stage runs in a case. A condition consists of a field, comparator, and value. Processes and stages are either executed or skipped if the case run-time values match the conditional logic defined.

In the following image, click the + icons to learn more about configuring a condition to skip a process or stage.

For example, an automobile accident case contains a process to open a personal injury claim if there is an injured party in the accident. However, if the car received damage while parked and unattended, the personal injury process can be skipped. The File auto accident claim process always runs, which is the default setting for processes. The File personal injury claim process is configured with a condition: Was a party injured is equal to Yes. As a result, the File personal injury claim runs only when there is a personal injury associated with the accident claim. Otherwise, the process is skipped.

Automobile accident case that allows for conditional processing. The File personal injury claim process only runs if there is a personal injury.

Skipping a process or stage

Skipping a stage

In the case life cycle, select the stage of interest to configure a condition to skip a stage. By default, a stage never skips unless a condition is present.

Properties panel of a stage shows that stages are never skipped by default.

Skipping a process

In the case life cycle, select the process of interest to configure a condition to start a process. By default, a process always starts unless a condition is present.

Properties panel of a process shows that processes always start by default.

Building conditions

You can add more than one condition to a stage or process. For example, in the automobile accident case, the personal injury process initially runs based on a single condition: Was a party injured is equal to Yes. You decide that the personal injury process should run based on two conditions: Was a party injured is equal to Yes and Expense total is greater than USD50. The File personal injury claim process is configured only to run when Was a party injured is Yes, meaning there is a personal injury associated with the accident claim, and the Expense total is greater than USD50. Otherwise, the process is skipped.

auto-accident-conditional-processing-two-conditions

Check your knowledge with the following interaction


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