The Execute rule set template allows users to create an alternate language template to execute rule sets. In other words, it is a user customized form of the existing "Execute rule set" action.
An example of using the finished Execute rule set template in a language rule might be as follows:
Here is how this template would be defined:
Here are the possible settings on this screen:
Specifies the name of the vocabulary template. The name is used for irSDK access.
Name of the template to be displayed in the business language template list.
Menu group under which the template will be listed. The user can choose to add his template to an existing menu group or can create his own menu group.
The scope of the template availability can be limited to only the context of the previously selected entity by checking "Available in rules and calculations for this entity." The availability can also be extended to those rule elements which have a reference to the previously selected entity by checking "Available in rules and calculations for entities referencing this entity."
Target Rule Set
Name of the rule set to be executed by this template. Only Explicit rule sets will be listed in this drop down list.
The placeholders created in business language are configured here. For a detailed description of placeholders refer to "Configuring Placeholders".
Business language to be displayed in the business language editor. Placeholders can be added to the template by enclosing them within $ symbols.
Rule Set Parameters
The “Parameters” interface allows users to pass decimal, Boolean, date, datetime, integer, text, and entity values from the calling rule set into the Target rule set for runtime use. Note, the Target rule set must be defined to accept a parameter.
All the parameters required for the execution of the rule set are automatically populated in the "Parameters" table. Rule authors will provide the Expression for each Parameter. These expressions can be actual values (e.g., 1355) or small expression to calculate the value. Expressions can also contain placeholders.