Creating rule parts

You can display the completion menu as you build your rule. The menu lists terms and phrases that are valid in the current context of the rule.

About this task

An action rule can comprise some or all of the following parts. The parts must be defined in the following order: definitions, if, then, and else.

Procedure

  1. Click anywhere in the editing area and press Spacebar or Ctrl+Spacebar.
    The completion menu displays a list of available insertion options that are based on your current position in the rule.
  2. Select an insertion option from the completion menu.
  3. Press Esc or click anywhere in the editing area to hide the completion menu.

Results

When you open the completion menu, it displays a list of available insertion options.
Table 1. Completion menu icons
Icon Description
Simple text icon

Simple text

Placeholder icon

Placeholder

Value icon

Value

Domain value icon

Domain value

Variable icon

User variable introduced by user in the rule or through ruleset variables or parameters

Implicit variable icon

Implicit variable introduced by a grammar construct

Automatic variable icon

Automatic variable introduced by a property on a BOM type

Concept icon

Concept (type)

Sentence navigation icon

Sentence navigation that returns a value

Sentence predicate icon

Sentence predicate that returns a boolean

Sentence operator icon

Sentence operator: like, and, or, arithmetic operators

Sentence action icon

Sentence for action, setter, or modifier