What Happens When You Create a Human Task Service Component

27-10 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite Figure 27–8 Outcomes Dialog 2. Enter the information shown in Table 27–3 . The seeded and custom outcomes selected here display for selection in the Majority Voted Outcome section of the parallel participant type.

3. For more information, see

Section 27.3.6.2.1, Specifying the Voting Outcome. Table 27–3 Outcomes Dialog Field Description Select one or more outcomes Select additional task outcomes or deselect the default outcomes. Add icon Click to invoke a dialog for adding custom outcomes. In the Name field of the dialog, enter a custom name, and click OK. Your outcome displays in the Outcomes field. Notes : Be aware of the following naming restrictions: ■ Do not specify a custom name that matches a name listed in the Actions tab of the Access section of the Human Task Editor for example, do not specify Delete. Specifying the same name can cause problems at runtime. ■ Do not specify a custom name with blank spaces for example, On Hold. This causes an error when the custom outcome is accessed in Oracle BPM Worklist. If you need to specify an outcome with spaces, use a resource bundle. For more information, see Chapter 31, Introduction to Human Workflow Services. ■ A custom task outcome must begin with a letter of the alphabet, either upper or lower case. It should contain only letters of the alphabet and the numbers zero 0 through nine 9. Outcomes Requiring Comment Click to select an outcome to which an assignee adds comments in Oracle BPM Worklist at runtime. The assignee must add the comments and perform the action without saving the task at runtime. Default Outcome Select the default outcome for this outcome. Designing Human Tasks 27-11

27.3.4.4 Specifying a Task Priority

Specify the priority of the tasks. Priority can be 1 through 5, with 1 being the highest. By default, the priority of a task is 3. This priority value is overridden by any priority value you select in the General tab of the Create Human Task dialog. You can filter tasks based on priority and create views on priorities in Oracle BPM Worklist. To specify a task priority: 1. From the Priority list in the General section, select a priority for the task. For more information about specifying a priority value in the Create Human Task dialog, see Section 27.4.3.2, Specifying the Task Initiator and Task Priority.

27.3.4.5 Specifying a Task Category

You can optionally specify a task category in the Category field of the General section. This categorizes tasks created in a system. For example, in a help desk environment, you may categorize customer requests as either software-related or hardware-related. The category displays in Oracle BPM Worklist. You can filter tasks based on category and create views on categories in Oracle BPM Worklist. To specify a task category: 1. Select a method for specifying a task category in the Category field of the General section: ■ By Name : Manually enter a name. ■ By Expression : Click the icon to the right of this field to display the Expression Builder for dynamically creating a category.

27.3.4.6 Specifying a Task Owner

The task owner can view the tasks belonging to business processes they own and perform operations on behalf of any of the assigned task participant types. Additionally, the owner can also reassign, withdraw, or escalate tasks. The task owner can be considered the business administrator for a task. The task owner can also be specified in the Advanced tab of the Create Human Task dialog described in Section 27.4.4.2, Specifying a Task Owner. The task owner specified in the Advanced tab overrides any task owner you enter here. For more information about the task owner, see Section 26.2.1.3, Task Stakeholders. To specify a task owner: 1. Select a method for specifying the task owner: ■ Statically through the identity service user directory or the list of application roles ■ Dynamically through an XPath expression For example: – If the task has a payload message attribute named po within which the owner is stored, you can specify an XPath expression such as: task:tasktask:payloadpo:purchaseOrderpo:owner – ids:getManagerjstein, jazn.com The manager of jstein is the task owner.