What Happens When You Document a Business Object Attribute

Using Human Tasks 14-5 Human Task using the simplified editor, you can edit it using the SOA Human Task editor if needed. The simplified Human Task editor Oracle BPM Studio provides, enables you to define the following properties: ■ Title Defines the name of the Human Task that is displayed to end-users in the Oracle BPM WorkSpace and WorkList applications. ■ Priority Specifies a priority for the Human Task. Valid values are between 1 highest priority and 5 lowest priority. The default value is 3. ■ Re-Initiate Restarts the approval process from the beginning ■ Outcomes Specifies the outcome possible outcome arguments of the Human Task. Oracle BPM Worklist displays the possible outcomes you select as the available tasks to perform at run time. ■ Parameters Define the Human Task payload. The Human Task data association is based on the parameters of the Human Task. The data association maps the data objects as input arguments. ■ Outcome Target Specifies a String data object to store the outcome argument of the Human Task. You can only select one data object. The Advanced User Task Properties enable you to define the following properties: ■ Initiator Specifies the user who initiates a task. The initiator can view their created tasks from Oracle BPM Worklist and perform specific tasks, such as withdrawing or suspending a task. ■ Owner Specifies the User ID of the task owner ■ Identification Key Defines a user-defined ID for the task. For example, if the task is meant for approving a purchase order, the purchase order ID can be set as the identification key of the task. Tasks can be searched from Oracle BPM Worklist using the identification key. This attribute has no default value. ■ Identity Context This field is required if you are using multiple realms. You cannot have assignees from multiple realms working on the same task. ■ Application Context Specifies the name of the application that contains the application roles used in the task. This indicates the context in which the application role operates. 14-6 Modeling and Implementation Guide for Oracle Business Process Management

14.3.1 How to Create a Human Task from Oracle BPM Studio

You can create a Human Task from the User Task Properties dialog in Oracle BPM Studio. To create a human task from Oracle BPM Studio: 1. Edit 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 Add button next to the Human Task field.

The Create Human Task dialog appears. 6. In the name field, enter a name to identify the Human Task. 7. From they Priority List, select a priority. 8. If you want to use an approval management pattern, then you must select one from the Pattern list. 9. In the Title Field, enter a title for the WorkList to display. 10. Optionally, you can configure the following: ■ The outcome See Section 14.3.2, How to Configure the Outcome of a Human Task for information on how to configure the outcome of a Human Task. ■ The parameters See Section 14.3.3, How to Add a Parameter to Human Task for information on how to configure the outcome of a Human Task. ■ The outcome target See Section 14.3.4, How to Configure the Outcome Target of a Human Task for information on how to configure the outcome of a Human Task.

11. Click OK.

The Create Human Task dialog closes and the Human Task field in the User Task Properties dialog shows the Human Task you created.

12. Click OK.

The User Task Properties closes and saves the implementation you configured for the user task.

14.3.2 How to Configure the Outcome of a Human Task

When you create a Human Task from Oracle BPM Studio you can configure the outcome of the Human Task. The outcome values you configure appear as the available actions of the Human Task in Oracle Worklist. To configure the outcome of a Human Task: 1. In the Create Human Task dialog, click the Browse button next to the Outcomes field.