How to Add an Asynchronous Process Operation to the Process Interface Using a Receive Task How to Define a Callback Process Operation Using a Send Task

21-22 Modeling and Implementation Guide for Oracle Business Process Management

21.10.1 How to Add Input and Output Arguments to a BPMN Process

When you expose operations using message start and end events, or send and receive tasks, you can define the input and output argument they require. To add input and output arguments to a BPMN process: 1. In the Argument Definition section, click the Add button. The Create Argument dialog appears. 2. Enter a name to identify the argument.

3. Click the Browse More Types Button.

The Browse Type dialog appears.

4. From the Type list, select a basic data type or select Component to use a

complex data type. 5. If you selected Component then select a component from the list of available complex data types.

6. Click OK.

The Browse Type dialog disappears and the data type you selected appears in the Type field in the Create Argument Dialog.

7. Click OK.

The argument appears in the Argument Definition table.

21.10.2 How to Edit the Input and Output Arguments of a BPMN Process

You can change the name and the types of the arguments of a BPMN Process. To edit the input and output arguments of a BPMN process: 1. From the Argument Definition table, select an argument.

2. In the Argument Definition section, click the Edit button.

The Edit Argument dialog appears. 3. Change the name of the type.

4. Click OK.

The argument in the Argument Definition table shows the updated name and type.

21.10.3 How to Delete an Input or Output Argument of a BPMN Process

You can delete input and output arguments that you do not use or need. To delete an input or output argument: 1. From the Argument Definition table, select an argument.

2. In the Argument Definition section, click the Remove button.

The select argument is removed from the Argument Definition table. Writing Expressions 22-1 22 Writing Expressions This chapter describes how to write expressions and conditions for the BPMN elements that require them. Oracle BPM provides you with two different types of expressions editors that adjust to requirements of different users. This chapter describes the expression language used by each of these expression builders and the operations you can use in the expressions you write. This chapter includes the following sections: ■ Section 22.1, Introduction to Expressions in Oracle BPM ■ Section 22.2, Writing Conditions in Conditional Sequence Flows ■ Section 22.3, Writing Expressions in Complex Gateways ■ Section 22.4, Writing Expressions in Timer Events ■ Section 22.5, Writing Expressions in Data Associations ■ Section 22.6, Writing Conditions in Loop and Multi-Instance Markers in Subprocesses ■ Section 22.7, Writing Expressions and Conditions Using the Simple Expression Builder ■ Section 22.8, Simple Expression Builder Supported Operators ■ Section 22.9, Simple Expression Builder Supported Functions ■ Section 22.10, Writing Expressions Using the XPath Expression Builder ■ Section 22.11, Using Arrays ■ Section 22.12, Using Literals ■ Section 22.13, XPath BPM Extension Functions

22.1 Introduction to Expressions in Oracle BPM

Some BPM elements require you to write a condition or an expression that defines their behavior. For example, you might want to control the flow of your process using a conditional sequence flow that ensures that all expenses above 500 dollars are approved by a manager. Oracle BPM provides you two ways of writing these expressions and conditions: ■ Using the Simple Expression Builder ■ Using the XPATH expression builder