Back Forward About When Condition rules
 

Decision category
  1. About
  2. New
  3. tab1
  4. tab2
  5. tab3
  6. tab4
  7. tab5
  8. History
  9. More...
New Conditions Advanced
Pages & Classes History More

Purpose

A when condition rule evaluates a Boolean logical statement involving comparisons among values of properties, to return true or false.

Where referenced

Rules of many other rule types can reference when condition rules. For example, you can reference when condition rules in activity rules, flow rules, and through the pega:when JSP tag in HTML rules.

Access

Use the Application Explorer to access when condition rules that apply to the work types in your application. Use the Rules Explorer to list all when condition rules available to you.

Development

Many when condition rules can be conveniently expressed as one or more Boolean expressions (comparisons or function calls) ANDed together. Use the Conditions tab to enter or update such rules. Other when condition rules require more complex logic to combine the Boolean expressions. Use the Advanced tab to enter or update those rules.

Delegation

C-494 KHATV 10/22/03 After initial development and testing, selected when condition rules can be maintained by line business managers rather than by application developers. The Conditions tab of the form provides managers access to the fields most often updated.

TipFor each when condition rule in your application, consider which business changes might require rule updates, and whether to delegate the rule to non-developers who then can make such updates directly. See How to build for change.

Category

When condition rules are part of the Decision category. A when condition rule is an instance of the Rule-Obj-When rule type.

Related topics Decision rules — Concepts and terms
How to unit test a when condition rule

Decision category
Help System home pageHelp Home