IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Creating business rules

To create business rules, create a decision service, select schema parameters, then write the rules in the Decision Service editor.

Before you start:

You can use business rules to process messages by creating the business rules in IBM® Integration Bus, or by importing them from IBM Operational Decision Manager. You can also retrieve business rules at run time from an external IBM Operational Decision Manager repository. In IBM Integration Bus, business rules are contained in a decision service.

A decision service contains a set of business rules and parameters and is shown in the IBM Integration Toolkit as a .rules file. You can use a decision service to process a message by associating the decision service with a DecisionService node in a message flow. The order in which you create the decision service, configure it, and associate it with a node, is flexible. When you import a rule application archive file from IBM Operational Decision Manager, it is converted into a decision service (.rules file). Create a decision service in the IBM Integration Toolkit by using one of the following methods:
  • Click File > New > Decision Service to open the New Decision Service wizard.
  • Right-click an application, library, or integration project, then click New > Decision Service.
  • In the Application Development view, click New, then click Decision Service.
  • Add a DecisionService node to the Message Flow editor, then double-click the node.
  • Import a rule application archive into the IBM Integration Toolkit.
If you open the New Decision Service wizard from a DecisionService node, the decision service is associated with that node. You can then use the node in a message flow to control operations like routing, validation, and transformation. If you create the decision service from a menu option, or you import a rule application archive file, you can drag the decision service file onto a DecisionService node to associate it with the node. You can also associate an existing decision service with a node by using the Decision Service property of the node.

The following instructions describe how to create a decision service in the IBM Integration Toolkit, configure its parameters and rules, then associate the decision service with a message flow. For details about how to use business rules that are written in IBM Operational Decision Manager, see Accessing rules that are created in IBM Operational Decision Manager.

To create a decision service, write business rules, and use a decision service to process messages, see the following topics.

  1. Creating a decision service
  2. Writing rules
  3. Processing messages with a decision service
When you are using your decision service to process messages, you can monitor their behavior by using the activity log and resource statistics. For more information, see the following topics: For details of the data that you can capture for decision services, see the following reference topics:

bc23794_.htm | Last updated Friday, 21 July 2017