IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Modeling processes > Building services > Building a Decision service

Export rules for use in Rule Studio

You can export a set of rules to create a project file that you can then import and work on in IBM WebSphere ILOG JRules Rule Studio.

Process Designer provides the capability for non-developers to express business logic using Business Action Language (BAL) in business rules. In most cases, business rules can be fully developed and implemented using Process Designer. However, in a situation where the business logic reaches levels of complexity not supported within IBM BPM, the business logic can be exported without modifications to IBM WebSphere ILOG JRules Rule Studio. The export procedure produces a complete business rules project suitable for continued work within JRules. After exporting the rules, importing into Rule Studio, and deploying the rules on a Rule Execution Server, the business process in Process Designer can consume the resulting rule application using a remote decision service provided by JRules.


Procedure

To export a rule component that contains a single rule or multiple rules, complete these steps:

  1. Verify that you are working in the Decision service that contains the rule component you want to export.

  2. In the Decision service diagram, click to select the component icon, such as a BAL Rule, that represents the component you want to export.

  3. Click the Decisions tab.

  4. In the menu bar at the top of the rule editor window, click the Export icon.

  5. In the Save As window, navigate to the location where you want to save the exported rule file.

  6. Enter a name for the export file, then click Save.


Results

The export function produces an Eclipse project file with a .zip extension.


What to do next

You can import the rule project file into ILOG Rule Studio. To keep the Decision service connected to the rules as you work on them in Rule Studio, you can replace the BAL Rule in the Decision service with a JRule Decision Service. Refer to the related topic "Configure a remote Decision service" for information about performing this procedure. For more information about importing a rule project into ILOG Rule Studio, refer the related topic "Importing a rule project in Rule Studio" in the WebSphere ILOG JRules InfoCenter.

Building a Decision service


Related tasks:
Scenario: Exporting rules to a Rule Execution Server


Related information:

Importing a rule project in Rule Studio