Progress Corticon lets you use Natural Language (NL) words, phrases, and sentences as substitute terms in Rulesheet conditions and actions, making it easier to discuss the rules with stakeholders and analysts.

To use natural language on a Rulesheet:

  1. Right-click within a Rulesheet, and then choose Natural Language.
  2. The Natural Language view opens, and typically places itself above the Rulesheet, as shown:
    Note: If the Natural Language window does not open, choose Window>Show View>Natural Language.
  3. Enter plain language descriptive text for each condition and action, as shown:  


    While your use of natural language might vary, it is good practice to use a consistent, clear style. Here are some tips:
    • Use If in the text for conditions and Then in the text for actions.
    • Conditions that are True/False often read better as questions.
    • Adding ellipses helps a reader continue the expression with the values in its column cells.
    • If you enter no natural language text, then the existing expression is shown.
     
  4. Expose your natural language expressions in the Rulesheet by either clicking the Show Natural Language toolbar button , or Rulesheet > Show Natural Language. The natural language is displayed as shown:


    In Natural Language mode, the values in rule columns can be edited but the Condition and Action expressions are locked and cannot be edited.
  5. Save the Rulesheet to store its expressions as well as its natural language data.
  6. You can revert to the actual, editable expressions by clicking the Hide Natural Language toolbar button , or Rulesheet > Hide Natural Language.
  7. Close the Natural Language view by clicking its close button.

Using natural language as an aid to Rulesheet design

You can create natural language phrases for the conditions, actions, and filters before defining those expressions.


Adding the natural language phrase makes the next line available for additional entries. Then, in the Rulesheet, define the expression that satisfies the natural language phrase, as shown:


Localization with natural language

When your stakeholders are comfortable in different natural languages, you can accommodate them easily with the natural language feature.

When you enable locales, the Natural Language window adds columns for the other locales. You can then define Natural Language text for each of those locales, as shown: