Back Forward Dependency network

Basics

C-463 The dependency network is an internal data structure that supports forward chaining or automatic recalculation of certain property values based on changes to other property values.

You can establish required relationships among properties using a Declare Expression, Constraints, or Declare Index rule. Such rules are sometimes known as declarations. When an activity step changes the value or a property that is involved in a declaration, the system automatically consults the dependency network to see if other values are affected.

Dependency NetworkBecause properties and declarations are rules, the dependency network for a requestor depends on that requestor's RuleSet list.

Operation of the dependency network is invisible and automatic; this can make dependencies difficult to test and debug.

Declarative Network display

Using Declare Expression rules, you can review the structure of dependencies defined. An example of this display appears at the right, for the property OrderTotal. You can access this display from: C-1098

PegaSample

The PegaSample sample application includes two properties that demonstrate Declare Expression rules, pyWorkListDateTime1 and Deadline. Three other standard Declare Expression rules apply to the Work- base class.

definitions backward chaining, declaration, forward chaining, sample application
related topics About Constraints rules
About Declare Expression rules
About Declare Index rules
Declarative processing — Concepts and terms
Unit testing a declare expression rule

UpDefinitions — D