Click OK. How to Create a Human Task Service Component

Designing Human Tasks 27-9 If you enter a title in the Task Title field of the General tab of the Create Human Task dialog described in Section 27.4.3.1, Specifying the Task Title, the title you enter here is overridden.

27.3.4.2 Specifying a Task Description

You can optionally specify a description of the task in the Description field of the General section. The description enables you to provide additional details about a task. For example, if the task title is Computer Upgrade Request, you can provide additional details in this field, such as the model of the computer, amount of CPU, amount of RAM, and so on. The description does not display in Oracle BPM Worklist.

27.3.4.3 Specifying a Task Outcome

Task outcomes capture the possible outcomes of a task. Oracle BPM Worklist displays the outcomes you specify here as the possible task actions to perform during runtime. Figure 27–7 provides details. Figure 27–7 Outcomes in Oracle BPM Worklist You can specify the following types of task outcomes: ■ Select a seeded outcome ■ Enter a custom outcome The task outcomes can also have runtime display values that are different from the actual outcome value specified here. This permits outcomes to be displayed in a different language in Oracle BPM Worklist. For more information about internationalization, see Section 27.3.8.2, Specifying Multilingual Settings. To specify a task outcome: 1. To the right of the Outcomes field in the General section, click the Search icon. The Outcomes dialog shown in Figure 27–8 displays the possible outcomes for tasks. APPROVE and REJECT are selected by default. 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.