Declarative Rules
Declarative Rules
Declarative Rules
OrderTotal 123.22
Forward chaining
Quantity Price
5 X 10.99 4 X 12.48
OrderPrice TAX
ExtendedPrice
Quantity Price
Dependency Network Analysis (Finding the DNA) [ This shows us which one is
dependent on which ]
Top-level declarative
expressions displayed on
the desktop, sorted by class
for easy access
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL
7
Declarative Rules % of EXAM - 5%
Expression
Builder
Browse
library
functions
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL
10
Declarative Rules % of EXAM - 5%
Condition
• How to write Constraints? type
• Declarative rules need / should not be refereed from any rule. They
are always in force. The primary benefit of declarative processing is
that the system, rather than the developer, controls when
computations are processed
• Idea is, Whenever value of any property from Basic, HRA, SpecialAllowance, ITax and
PTax is changed, The value of GrossSalary in clipboard automatically changes. For
example, if an activity which has Property-Set method for property “Basic” and if this
activity is executed, the clipboard value of GrossSalary automatically changes
????