Rule statements in a Rulesheet can be used to generate rule messages. Rule messages need not contain only static information. They can also contain dynamic data such as the values of attributes (in request messages received by Corticon, or created or modified as the result of a rule execution at runtime).



For example, the rule statement If an aircraft is of the type 747, the maximum cargo weight is 150,000 could be modified to include the aircraft’s tail number when a rule message is generated: The aircraft N123UA is of the type 747; its maximum cargo weight is 150,000. Here, N123UA is the value of the attribute tailNumber in a request message received by Corticon at runtime.

You can embed dynamic data in rule messages by specifying the attribute name within the rule statement. To specify an attribute name in a rule statement:
  1. Open the Rulesheet.
  2. In the Rule Statements view, specify the attribute name by:
    1. Dragging it from the Rule Vocabulary view and dropping it to the appropriate place within the rule statement.
    2. Enclosing it in curly braces to indicate that its value will be populated at runtime.