Before you begin
- Export the rule application archive from the IBM Operational Decision
Manager rule designer by using the Rule
Designer menu or the RuleApp editor. You can also download a rule
application archive from an IBM Operational Decision
Manager rule
execution server console. For more information, see
IBM Operational
Decision Manager product documentation online.
About this task
If you have created rules in
IBM Operational Decision
Manager,
you can import them and use them in
IBM Integration Bus.
The resources that you import from
IBM Operational Decision
Manager must
meet the following criteria:
- The imported file must be a rule application archive.
- The application rule sets in the rule application archive must
contain action rules.
- Application rule sets must have a schema XOM. (Java™ XOMs are not supported.)
- Application rule sets must have parameters that have schema types.
To import a rule application archive, complete the following
steps.
Procedure
- In the IBM Integration Toolkit, click .
- On the Select panel of the Import wizard,
expand Decision Services and select Rule
Application archive file.
Click Next.
- Select or create a container for your imported rule application
archive. You can import the file into an application,
library, or integration
project. The Decision
Service field is completed automatically when you select
a file to import. The name of the decision service is based on the
name of the imported file.
- Select the file to import by browsing to a location on
or outside your workspace.
- Optional: If you are importing an updated file
to replace a file that is already in the chosen container, select Overwrite
existing Decision Service in specified container.
- Click Next.
- View the summary of the rule sets in the selected rule
application archive that can be imported. The latest version
of the rule set is imported; the rule set path does not include the
version of the application or rule set. If any rule sets cannot be
imported, they are listed. Click a rule set to see why it cannot be
imported. For example, a rule set cannot be imported
if it is not based on an XML schema, or if it uses parameters that
do not have schema types.
- Click Finish.
Results
The imported rule application archive is converted to a decision
service (
.rules file). The decision service opens
in the Decision Service editor.
For rules that are written outside IBM Integration Bus, you cannot edit information
in the Decision Service editor. On the Parameters tab,
you can select a rule set to see its parameters, but you cannot edit
those parameters. The verbalization value is not available for rule
sets that are imported from IBM Operational Decision
Manager,
nor can you see the rules.
What to do next
To use the imported rules to process messages in
IBM Integration Bus, follow the instructions in
Processing messages with a decision service.