Typical Design Workflow Introduction to Human Tasks in BPM

Using Human Tasks 14-7 The Outcomes dialog appears.

2. Select one or more outcomes, or click the Add button to add a new custom

outcome.

3. Optionally click Outcomes Requiring Comment, to select those outcomes that

require comments.

4. Click OK.

The Outcomes dialog closes and the selected outcomes appear in the Create Human Task dialog, in the Outcomes field.

14.3.3 How to Add a Parameter to Human Task

You can add multiple parameters to a Human Task to build the Human Task payload. Oracle BPM Studio uses this parameters to create the data association of the user task that uses the Human Task. To add a parameter to a Human Task: 1. In the Create Human Task dialog, click the Add button in the Parameters table. The Data Objects dialog appears.

2. Select a data object from the Data Objects dialog and drop it on the Parameters

table. The selected data object appears in the Parameters table.

3. Close the Data Objects dialog.

4. Optionally you can mark the parameter as editable by selecting the Editable

column in the Parameters table.

14.3.4 How to Configure the Outcome Target of a Human Task

When you create a Human Task you must define an outcome target. The outcome target maps the result of the Human Task to a String data object in your BPM project. To configure the outcome target of a Human Task 1. In the Create Human Task dialog, click the Add button next to the Outcome Target field. The Data Objects dialog appears. 2. Select a String data object from the Data Objects dialog and drop it on the Outcome Target field. The selected data object appears in the Outcome Target field.

3. Close the Data Objects dialog.

14.3.5 What Happens When You Create a Human Task from Oracle BPM Studio

The Human Task automatically appears in the HumanTasks predefined module in the business catalog. You can use the Human Task to implement the user task you are editing or other user tasks in the BPM project. You can edit the created Human Task using the SOA Human Task editor to configure implementation details. 14-8 Modeling and Implementation Guide for Oracle Business Process Management

14.4 Creating a Human Task Using the SOA Human Task Editor

You can create and edit complex Human Tasks using the SOA Human Task editor. For more information on how to create Human Tasks using Oracle SOA Suite, see chapter Designing Human Tasks in Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.

14.4.1 How to Specify an e-mail Address for the Recipient of a Notification

When using the SOA Human Task editor in a BPM Suite installation, you can specify an e-mail address for the recipient of a Notification. To specify an e-mail address for the recipient of a notification: 1. Open the Human Task editor. 2. Click the Notification tab. 3. Double-click the Recipient list. The Recipient list is an editable list, when you double click it, it becomes a text field.

4. Enter the recipient’s e-mail address.

Optionally you can use the buttons next to the Recipient text field to look up the e-mail address in an application server or to specify the e-mail address using XPath.

14.5 Editing a Human Task from Oracle BPM Studio

You can edit a human task using Oracle BPM Simplified editor or the SOA Human Task editor. Generally you use the SOA Human Task editor for complex human tasks.

14.5.1 How to Edit a Human Task Using the Oracle BPM Simplified Editor

To edit a Human Task using the Oracle BPM Simplified Editor: 1. Open the BPMN process that contains the user task implemented with a Human Task. 2. Right-click the user task.

3. Select Properties.

The user task properties dialog box appears.

4. Click the Implementation Tab.

5. Make changes to the properties in the Human Task Attributes and Advanced

sections. Note: When sending a notification to a recipient specified using an e-mail address, the notification service uses the user context of an assignee to obtain the task information to include in the notification.