Circumstance Template and Definition: Multi-Variant Circumstancing

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Multi-variant circumstancing

Circumstance template and definition

Multi-variant circumstancing addresses the challenge faced by businesses responding to situational processes when multiple
factors are required before applying the correct rule. For example, a bank waives account fees for customers who maintain
an account balance of EUR10,000 and are residents of Germany. But for customers who are not residents of Germany, the
account balance must exceed EUR25,000.

In this situation, you create a circumstance template to define the properties on which to circumstance the rule. You then
create a circumstance definition to specify the minimum balance of EUR25,000 and the exception for customers who are
non-residents of Germany.

The circumstance template is the rule that defines the properties used to determine if the circumstance is applicable. In the
minimum balance example, you first configure a circumstance template that defines .CountryOfResidence
and .MinimumBalance as the two multivariate properties.

For each circumstanced rule, you must also provide a uniquecircumstance definition. A circumstance definition defines the
values for the circumstance template. In the minimum balance example, you then select the circumstance template and
define the property values applicable for the variant.

You then apply the circumstance templateand circumstance definition to the rule variant. If the case matches the
combination that is defined in the circumstance definition, the application uses the circumstanced variant of the rule, rather
than the base rule.

A hotel booking website has a loyalty reward program based on where customers live as well as their reward level. The
website wants to vary the content of an email based on customer locations and reward levels. Pega Platform™ uses
circumstancing to configure variables such as location and reward levels and refers to records with multiple variables as
multivariate circumstancing.

In the following image, click the + icons to learn more about the relationship between a circumstance template, circumstance
definition, and the rule variants that use them.

This learning is interactive and cannot be experienced offline. Please visit https://academy.pega.com to complete.

Check your knowledge with the following interaction.

This learning is interactive and cannot be experienced offline. Please visit https://academy.pega.com to complete.

Circumstancing and rule resolution


When several circumstanced versions of the base rule are available, the rule resolution algorithm selects a rule based on the
availability of rules in the higher ruleset versions.

In the following image, a hotel booking website application includes circumstanced rules based on state and reward level
properties. Click the + icons to understand the Pega Platform™ rule resolution on circumstanced rules.

This learning is interactive and cannot be experienced offline. Please visit https://academy.pega.com to complete.

Check your knowledge with the following interaction.

This learning is interactive and cannot be experienced offline. Please visit https://academy.pega.com to complete.

Multi-variant circumstancing -- Tue, 05/04/2021 - 02:58


To get the full experience of this content, please visit Multi-variant circumstancing

You might also like