Rules and Rule Sets

From AgileApps Support Wiki
Revision as of 21:38, 27 June 2012 by imported>Aeric (→‎About Rules and Rule Sets)

A Rule is an if-then statement that says, if one or more conditions are met, then take a specified action. A Rule Set is a collection of such rules.

About Rules and Rule Sets

The Case Dynamics interface makes it easy to define rules by selecting fields and specifying matching criteria. When satisfied, the criteria cause the action associated with the Rule to be taken.

Rules are defined in Rule Sets. Both Rules and Rule Sets can return value, or simply carry out an action. When satisfied, a Rule can cause processing of the current Rule Set to stop after taking the associated action, or it can allow processing of the Rule Set to continue with the nest Rule in the series.

Rule Set Chaining

Rule Sets can be chained, which means that a Rule can cause a different Rule Set to be processed. When that Rule Set finishes, the processing of the original Rule Set resumes where it left off. (Chaining can go to an arbitrary depth.)

Rule Actions

Here are the possible actions that a Rule (or Rule Set) can perform:

  • Return a value -
  • xx -
  • xx -
  • xx -
  • xx -
  • xx -
  • xx -
  • xx -
  • xx -
  • xx -
  • xx -
  • xx -
  • xx -

Working with Rules and Rule Sets

Creating a Rule Set

Creating a Rule