Overview of the Intellirule editor

When you use the Intellirule editor to build a rule, you add the appropriate terms and phrases to the editing area. You can add terms and phrases by typing or pasting text or by selecting terms and phrases from the completion menu. If you select a phrase that contains placeholders, you must replace each placeholder with a term, a value, or some other phrase.

Note:

Look for the Rule editor flash demo on the support site for an English only tour of the Intellirule editor features: IBM® Customer Support site

Terms and phrases

The Intellirule Editor provides an editing area into which you add terms and phrases to build rules. You can add terms and phrases in the following ways:

  • Type directly in the editing area

  • Copy text from another editor or application, and paste it into the editing area

  • Select predefined terms and phrases from a completion menu

Completion menu

The terms and phrases available to you in the completion menu and the different ways in which you can combine them are defined in the business vocabulary of your company.

The following table displays the icons that the completion menu uses to identify the different types of elements that are available for selection.

Icon Description
Term icon Term. A business term defined in the vocabulary of your business domain.
Constant icon Constant or text string.
Predicate phrase Predicate phrase. A phrase with a value of either true or false. See Rule conditions.
Navigation phrase Navigation phrase. A phrase that refers to an attribute of a term. See Rule conditions.
Action phrase Action phrase. See Rule actions.
Operator icon Arithmetic operator.
Automatic variable icon Automatic variable. A variable that is automatically declared for each term in the vocabulary of your business domain.
Variable icon Explicit variable or ruleset parameter. A variable that is declared in the definitions part of a rule, or a parameter that is declared by the rule application.
Rule language construct icon Rule language construct.

Placeholders

Placeholders indicate places in a term or phrase that you must complete by inserting the name of a business term, a value, or some other phrase in order to construct a valid expression. Placeholders are identified with angle brackets. For example, the following phrase contains the placeholder <a customer>:

the age of <a customer>

To complete this phrase, click the placeholder. You can then either start typing a value or business term, or select a term or phrase from the completion menu. Completion menu options might contain additional placeholders that you must also complete to construct a valid expression.