> #### 6.4.2 Defining Blaze Rules Java Actions

> Before you can create a Blaze Rules Java Action, you must have a rules file that has been created with the Blaze Advisor. Also, your rules engine must have access to the Interstage BPM Business Object Model (BOM) used by Interstage BPM to implement the rules created by the rules engine.

> 1. Copy the rules file (*.server) that you will use in your rules Java Action to any directory specified as a Document Management System (DMS) directory. If you accepted the default DMS directories during installation, your DMS directories are C:\iflow_attachments and C:\fujitsu\InterstageBPM\taskmanager\iflowjsp\FormsRepository).

> 2. Follow the instructions in the Assigning Java Actions section. Following these instructions will guide you to the Action List dialog box from which you can select an Action. Double-click Fair Isaac Blaze Advisor in the Action List dialog box. First, you must expand the Rules Actions folder.

> The Action editor - Set Rules dialog box appears.

> 3. Type a name for your Rules Java Action in the Action Name field. The example below shows the name "test" to signify rules that discount prices under certain conditions. It is also suggested to add some descriptive text to the Notes field.

> 4. Click the Browse (...) button and navigate to the Server Configuration File that you placed in your DMS Root directory. Select the file and click the Open button.

> The file with complete path appears in the Server Configuration File field. Once the Server Configuration File has been set in this field, the services and entry points defined in it become available for selection in this dialog box. The file iFlow.server appears in the example.

> 5. Select the Service that you want to use from the Service Name drop-down field. The Service Name iFlow is selected in the example.

> 6. Select the entry point that you want to use from the Entry Point drop-down field. The Entry Point invokeiFlowRulesProcess is selected in the example.

> 7. Click OK.

> Your Rules Java Action appears in the Action frame of the properties dialog where you first clicked the Add button.

> 8. Click OK to close the properties dialog box.

> Your Rules Java Action is now assigned to the process definition. You can attach actions in any one of the Action type frames.

Business Process Manager Help-Fujitsu Computer Systems Corporation Interstage Website Voice: (888) 248-9273 Interstage BPM Information