> #### 6.3.3 Assign XML to UDA Java Action

> The Assign XML to UDA Java Action generates an XML string as the value of a user-defined attribute (UDA). This Java Action is usually used in conjunction with the Assign UDA from XPath Java Action and an HTTP Agent. This three-component system forms a data-transfer interface to a system external to Interstage Business Process Manager.

> Note: If you are using the Interstage Business Process Manager Entry Edition, Agents (in general) will be unavailable. For other Entry Edition considerations, see the Entry Edition User's Guide.

> This section only provides instructions in using the action editor. It provides no information on applications for which they might be used, how to design the XML string expressions, or how to write the XPath expressions.

> To generate an XML string as the value of a UDA using the Assign XML to UDA Java Action:

> 1. 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 Assign XML to UDA in the Action List dialog box. First, you must expand the Server Actions folder.

> The action editor Assign XML to UDA appears.

> 2. Enter a name for your XML Assignment action in the Action Name field. Note that the name CustomerInfo is displayed as the Action Name in Figure 57.

> 3. Select a UDA for your XML Assignment action from the Assign to UDA field. The generated XML string will be assigned to this UDA. Note that the UDA CustomerDetails is displayed in Figure 57.

> 4. Enter an XML string for your XML Assignment action in the Enter an XML Value field. Then, click OK.

> Figure 64: The Assign XML to UDA Action Editor
> Your Java Action appears in the Action frame of the properties dialog where you clicked the Add button. In the example, CustomerInfo is set as the process initialization Java Action. At process initialization, this Java Action generates the XML value described in the above figure and places it in the CustomerDetails UDA.

> Figure 65: The Action Set pane

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

> Your Assign XML to UDA Java Action is now assigned to the process definition. You can attach these actions to change the descriptions of your processes 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