How to add an XML Schema to Your BPM Project

14-2 Modeling and Implementation Guide for Oracle Business Process Management Figure 14–1 Human Task components in the Business Catalog This figure shows the Human Tasks components in the Sales Quote example. The business catalog stores all the Human Tasks components in the BPM project within the predefined module HumanTasks. At run time, when a token arrives at a user task control is passed from the BPMN process to the Oracle Human Workflow. Although both are part of Oracle BPM run time, control is not passed back to the BPMN process until the Human Tasks is completed. After the workflow is complete, control is passed back the BPMN process, any required data objects are passed back to the user task, and the token moves to the next sequence flow of the process. However human tasks are independent from BPMN processes. If you terminate a BPMN process while it runs a user task, the associated human tasks keeps running independently. For more information see Section 23.1.1, Understanding the Relationship Between SOA Composites and SOA Components . If the process instance leaves the user task before the human tasks is completed, the human task continues running and can you can still access it. This is because human tasks are independent from the BPMN process. Any changes you make to a human task after the process instance left the corresponding user task, do not appear in the audit trail.

14.1.1 Typical Design Workflow

There are two approaches to working with Human Tasks in Oracle BPM: ■ Creating the Human Task using the SOA Human Task editor ■ Creating the Human Task using the simplified interface Oracle BPM provides Note: When you define a human task in BPM the callback is implicitly defined. Using Human Tasks 14-3 The approach you choose depends on how you plan your work, how you divide it between the developers in your team and the complexity of the Human Tasks you are developing. Creating the Human Task Using the SOA Human Task Editor: ■ Create a Human Task using the SOA Human Task ■ Create the corresponding taskflow using SOA Suite ■ Create a BPMN process with user tasks ■ Implement the user tasks in the BPMN process using the defined Human Tasks Creating the Human Task Using Oracle BPM Human Task Editor ■ Create a BPMN process ■ Add a user task. From the user task implementation properties dialog, create a Human Task. ■ Create the corresponding taskflows using SOA Suite

14.2 Assigning an Existing Human Task to a User Task

You can create a Human Task using the SOA Human Task editor and then assign that Human Task to the implementation of a user task. You must also define how the data objects in your BPM process map to the input and output arguments of the Human Task. You can do this using data associations or transformation. For more information on data associations and transformations, see Chapter 8, Handling Information in Your Process Design .

14.2.1 How to Assign an Existing Human Task to a User Task

You can implement a user task using an existing Human Task that you created for another user task or using the SOA Human Task editor. To assign an existing Human Task to a user task: 1. Open the BPMN process.

2. Right-click the user task.

3. Select Properties.

The Properties - User Task dialog appears.

4. Click the Implementation tab.

5. Click the Browse button next to the Human Task field.

The Browse Human Tasks dialog appears.

6. Select a Human Task from the list.

7. Click OK.

The Browse Human Tasks dialog closes and the selected Human Task appears in the Human Task field. Note: When you create a Human Task using Oracle BPM Suite, the enableAutoClaim property is set to true by default.