> #### 6.4.3 Defining Sybase Rules Java Actions

> Before you can create a Sybase Rules Java Action, you must have a rules file that has been created with JavaScript. 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 Sybase Java Rules Engine in the Action List dialog box. First, you must expand the Rules folders.

> The Action editor - Set Rules dialog box appears.

> 3. Type a name for your Rules Java Action in the Action Name field. It is also suggested to add some descriptive text to the Notes field.

> 4. Click the Browse (...) button and navigate to the Rules 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 Rules File Name field.

> 5. Click OK.

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

> 6. 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