Jump to: navigation, search

Conditions Editor

The Conditions Editor allows you to create and edit rule conditions. Each condition contains the same fields:

  • Name—The name of the condition. This is what will appear in the Project Explorer to identify the condition.
  • Language Expression—The plain language expression of the condition that the rule author sees when constructing a business rule in the Rules Authoring Tool.
Important
Always enclose language expressions in double quotes.
  • Rule Language Mapping—The condition expressed in code. See Rule Language Mapping for more information.

When configuring conditions, parameters can be used in the Rule Language Mapping and Language Expression. For example, the Condition Age Range may be configured as follows:

  • Name—Age Range
  • Language Expression—Customer's age is between "{ageLow}" and "{ageHigh}"
  • Rule Language MappingCustomer(age >= '{ageLow}' && age <= '{ageHigh}')

In this example, {ageLow} and {ageHigh} are parameters.

Conditions in Linear Rules

For a linear rule, there is a maximum limit 6 columns of parameter data (including static text labels). So, for example, if your expression is:

Set customer data to: {parm1} and {parm2} and {parm3} and {parm4}


In this case, {parm4}, as the 7th parameter, will not be displayed. Reword your conditions to fit within these boundaries.

This page was last edited on May 27, 2014, at 09:21.
Comments or questions about this documentation? Contact us for support!