Back Forward Case Type rules
Completing the Calculations tab

  1. About 
  2. New 
  3. Processes 
  4. Calculations 
  5. Stages 
  6.  
  1. Attachment Categories 
  2. Advanced 
  3. Remote Case Configuration 
  4. Pages & Classes 
  5. History 
  6. More... 

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 item whenever the input property values in work items in the covered classes are updated.

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.

As a best practice, use the Calculations item on the Case Designer Details tab to update these values. See About Case Designer landing pages.

This tab is not available on circumstanced (specialized) case type rule forms. Calculations are performed as defined on the base rule — this maintains calculation integrity across all the circumstances of a case type rule.

Field

Description

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

Sum (only option).

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.

Property Reference

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.

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

Up About Case Type rules