IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing business processes > Create business rules
Create a rule set
This topic provides instructions on how to create a new rule set.
Procedure
- In the workbench, switch to the business integration perspective.
- From the main menu, click File > New > Rule Set.
- In the New Rule Set window, specify a module (or create one if necessary by clicking New), a folder and a name for the new rule set, and click Next.
- In the select an interface and operation window, browse to an existing rule group, or click New to create one. If necessary, use the drop down lists to select a different interface and operation.
- Click Finish.
Results
This creates a rule set, and launches it in a new editor. Click any of the topics listed below to configure your new rule set.
- Rule set editor
A rule set captures decision-making business logic in the form of a series of if-then statements.- Adding a variable to a rule set
Variables store the data used by a rule set.- Create an if-then rule in the rule set editor
An if-then rule determines what action to run according to the condition of the incoming message.- Create an action rule in the rule set editor
An action rule determines what action to run no matter what the incoming message is.- Create rule set templates
Use a rule set template to define the implementation and parameters for an if-then or action rule. This template can then be used to create new instances of the same rule using different parameters.- Create a new rule from a template in the rule set editor
Rules can be created from existing templates. In this way, you can create a similar rule without having to redefine the implementation, and by making changes to the parameters within the constraints specified.- Letting a web user override the default values in a rule set
In a rule set, there are often situations where you want to allow a web user to override the default output value as programmed. To capture this in a rule set, use the following approach.- Structuring an ordered rule set for modification
In some rule sets, there may be a tight dependency between the rules and their order of processing. This is the nature of sequential execution. Here are some suggestions on how to plan for possible changes to an ordered rule set.- Calling one rule set from another one
Currently, you cannot call one rule set from another directly, you can only call out to operations which exist in another component. To work around this, separate the rule sets into two distinct rule groups, and then invoke one from the other.