Back Forward Case Type rules
Completing the Calculations tab

About Case Type rules

This tab appears only if the Applies To class for this rule inherits from the standard Work-Cover- class.

Use the tab to calculate the sum of a target property value on the cover work object whenever the input property values in work objects in the covered classes are updated.

V6.2 GRP-21015 When you save this rule the system creates Declare Trigger rules named pyCaseTypeAggregates  in the same Applies To class, RuleSet, and Version as the case type rule. On the Declare Trigger rule form, the system populates the ...One of These Properties Was Modified values with the values in the Property to Calculate fields on the Case Type rule form.

When a property is updated, the trigger invokes the Pega-ProcessEngine agent and alters the watched properties to match the properties specified in the calculations tab for that class.The agent obtains a lock on the cover object so that property can be updated. If unsuccessful, the agent retries every 30 seconds.

Field

Description

Aggregate Property Calculation  

Property to Calculate

SmartPromptSelect a Single Value property in the Applies To class of this cover object. You can make an embedded property (such as Value List or Page List) reference but the leaf property must be a scalar. The property type may be integer, decimal, or double. The property value must not be associated with a declare expression or calculated in a multi-level declare expression structure.

Operation

SmartPromptSelect Sum of (only option).

Inputs to Calculation  

Coverable Work Type

SmartPromptSelect a covered work class containing the property you want to include in the target calculation. The list includes the classes defined on the Process tab.

Input Property

SmartPrompt For each class, select a property (in the declare expression) used to calculate the target property value.

The specified property in each covered class can be different.

Here is an example of a completed tab. The cover class is PegaSample-CustomerRequest.

Definitions Declarative rule
Related topics Understanding the Pega-ProcessEngine agent
About Declare Trigger rules

Up About Case Type rules