> #### 6.8.1 Search Shunsaku Java Action

> Note: You must have Interstage Shunsaku installed on your machine and add the Shunsaku API JAR file (shunapi.jar) to the <Interstage BPM>\lib directory to use this JavaAction.

> This Java Action is used to execute a Shunsaku search.

> To define a Search Shunsaku Java Action:

> 1. Follow the instructions in the Assigning Java Actions section and select Search Shunsaku from the Interstage Actions folder in the Action List dialog box.

> The Shunsaku Action dialog box appears.

> 2. Enter an expression in the Value field. There are three different ways to enter an expression in the Value field. You can:

> Enter a constant when "C" is displayed on the Expression Mode button.
> Select a user-defined attribute (UDA) when "V" is displayed on the Expression Mode button.
> Enter an expression or build an expression with the Expression Builder when "E" is displayed on the Expression Mode button.

> In Figure 43, the Input UDA is selected from the drop-down list. Note that a "V" is displayed on the Expression Mode button. The button display can be changed from "C" to "V" to "E" by clicking it. For more information on using this field, see the "1. Display the process definition. 2. In the Action Set pane, define a Web Services Java Action as an Epilogue JavaAction to execute just before the enactment thread leaves the node. Alternatively, paste in Actions created in other Action Sets. For more information, see the "Web Services Java Action" section.Note: You will not be able to assign JavaActions that are not of the appropriate type to the custom node3. Click OK.Expressions in Interstage Business Process Manager

> 2. In the Action Set pane, define a Web Services Java Action as an Epilogue JavaAction to execute just before the enactment thread leaves the node. Alternatively, paste in Actions created in other Action Sets. For more information, see the "Web Services Java Action" section.

> Note: You will not be able to assign JavaActions that are not of the appropriate type to the custom node

> 3. Click OK.

> Expressions in Interstage Business Process Manager" section.

> 3. Enter search criteria for your Shunsaku action in the Search Criteria pane.

> Figure 97: The Search Shunsaku Action Search Criteria

> 4. Enter search server settings for your Shunsaku action in the Search Server Settings pane.

> Figure 98: The Search Shunsaku Action Search Server Settings

> 5. Enter action settings for your Shunsaku action in the Action Settings pane.

> Figure 99: The Search Shunsaku Action Settings

> 6. Click the OK button.

> Your Java Action appears in the Action frame of the properties dialog where you first clicked the Add button. The figure shows InputToOutput as an Init Action.

> Figure 100: The Action Set pane

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

> Your Shunsaku 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