How to Associate a Human Task with a BPEL Process

There are two ways to associate a human task service component with a BPEL process:

  • If you have created a human task service component in the SOA composite application, drag a human task activity into the BPEL process in Oracle BPEL Designer. Then, select the existing human task service component from the Task Definition list of the Create Human Task dialog. You can then specify the task title, initiator, parameter values, and other values.

  • If you have not created a human task service component, drag the human task activity into the BPEL process in Oracle BPEL Designer Then, click the Add icon to the right of the Task Definition list in the Create Human Task dialog. This action enables you to specify the name of the new human task service component, the parameters, and the outcomes. The Human Task Editor then opens for you to design the remaining task metadata. After design completion, close the Human Task Editor.

To associate a human task with a BPEL process:

  1. Go to the SOA Composite Editor.
  2. Double-click the BPEL process service component with which to associate the .task file of the human task service component.
  3. In the Components window, expand SOA Components.
  4. Drag a new Human Task activity into the BPEL process.
  5. Double-click the Human Task activity.

    The Human Task dialog appears.

  6. From the Task Definition list of the General tab, select the human task, as shown in Figure 28-6.

    Figure 28-6 Task Definition List Selection

    Description of Figure 28-6 follows
    Description of "Figure 28-6 Task Definition List Selection"

    The .task file of the human task service component is associated with the BPEL process.

    Note:

    After you complete association of your human task activity with a BPEL process and close the Create Human Task dialog, you can always re-access this dialog by double-clicking the human task activity in Oracle BPEL Designer.