You are here: Basic Steps > 4. Rules > Advanced Rule Building > Dictionaries and Named Constants

Dictionaries and Named Constants

Named constants are used when selecting a Constant Value during rule or action construction.

To use a named constant, you select key words from a dictionary.

Element Details for a Constant Value

A dictionary is a set of key words with a corresponding code, which is used in the rule or action to query the data. Dictionaries are managed as metadata stores (see Metadata Stores).

As you do not have to remember the code, a dictionary helps you to construct a rule or action quickly and efficiently. This also means that codes in the underlying metadata can be updated without changing the named constants in existing rules and actions.

ClosedAdd a Named Constant to a Rule Closed or Action

  1. Select an existing <<Value>> placeholder, or add a new value node.

  2. From the Type list in the Element Details panel, select Constant Value.

  3. Click Pick from dictionary.

    The Select Named Constants window opens.

  4. From the Metadata Stores menu, select the required key word class.

    Key word classes within available metadata stores

  5. Enter search criteria in the text field and select a Search Type. Click to search.

    Searching for key words

  6. Select a key word from the Fetched Keys list and click OK.