> #### 6.4.1 Defining ILOG Rules Java Actions

> 1. Copy the rules file (*.ilr) 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:\ibpm_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 iLog Rules 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 shows the name "Discount Rules" 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 ... button and navigate to the rules file (see Step 1) that you will use for your JavaAction. Click on the rules file to highlight it. I have used discount.ilr for example purposes. You will only be able to navigate to directories that you designated as DMS directories during installation. The default directories are C:\iflow_attachments and your Interstage BPM Forms Repository directory.

> The full path with file name appears in the Path field of the dialog box.

> 5. Check to make sure that you are specifying the correct rule file, and then click OK.

> The Action Properties dialog box re-appears with the name of your rule file in the appropriate field.

> 6. Enter the name of the packet or packets that you want to use in your Java Action in the Packet field.

> 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 Software Corporation Interstage Website Voice: (888) 248-9273 Interstage BPM Information