Naming Conventions Oracle Fusion Middleware Online Documentation Library

Handling Information in Your Process Design 8-15 Figure 8–5 shows the data association for the Enter Quote user task in the Sales Quote example. Figure 8–5 The Data Association Editor This figure shows the data association for the Enter Quote user task in the Sales Quote example. The Enter Quote task implementation requires a Quote object as an input argument and return a modified Quote object as a result of running the Human Task. Table 8–4 describes the different areas of the data association editor.

8.14 Introduction to Transformations

You can use XSL transformations to transform: Table 8–4 The Data Association Editor User Interface UI Area Description Inputs Contains text boxes that display the data objects assigned as inputs to the service or process implemented in the flow object. Next to each text box is an icon that launches the expression editor Flow Object Interface Lists the expected input arguments for the service or process implemented. The flow object interface also contains an expandable list of the data objects supplied as input and output. Within the flow object area, you can expand complex data objects to map to specific basic data objects within a complex data object. Outputs Contains text boxes that display the data objects assigned as outputs from the service or process implemented in the flow object. Data Objects Displays a list of all the data objects. This list is divided between process and project data objects. 8-16 Modeling and Implementation Guide for Oracle Business Process Management ■ the values of the data objects in the process, before you pass them to the implementation of a flow object as input arguments. ■ the values of the output arguments of a flow object implementation, before you assign them to the data objects in your process. You can combine the use of transformations with the use of data associations only if you apply them over different arguments. When you define the transformation you can only use as sources data objects that are based on an business object created using an XML schema or type. You can edit the transformations you create using the SOA XLS Editor. See Oracle Fusion Middleware Developers Guide for Oracle SOA Suite for more information on how to use the SOA XLS Editor.

8.15 Defining Transformations

You can modify the values you use assign to input arguments and output arguments in the implementation of a flow object using XSL transformations.

8.15.1 How to Define a Transformation

You can define an XSLT transformation to transform the data you pass to and from the implementation of a flow object. To Define a transformation: 1. Edit the flow object implementation properties.

2. Select Use Transformation.

3. Click the Edit XSL Transformation button.

The Transformation dialog appears.

4. Click the input or output according to the argument value to transform.

5. Click Add.

The Transformation dialog appears.

6. From the Sources List, select a source.

The sources list only contains data objects that are based on a business object created using an XML schema or type.

7. Click Add.

The source appears in the Selected Elements list.

8. From the Target list, select a target to assign the result of the transformation.

9. In the Transformation section select a way to define the transformation:

■ Create: creates a new transformation and opens the SOA transformation editor for you to define the transformation. ■ Use Existing: enables you to select an existing transformation that you copied to the project XSL directory. Note: You must not use transformations and data associations to map the value of an argument simultaneously.