How To Create an ADF Task Flow Based on a Human Task

The ADF Task Flow Based on Human Task option (shown in Figure 30-1) creates an ADF task flow and additional artifacts to make deployment easier. When you select the .task file to associate with the ADF task flow, human task data controls are created based on the task parameters and outcomes. These are then available to use in the JSPX page. You must have access to the SOA composite project while creating the task flow project.

To create an ADF task flow based on a human task:

  1. From the File main menu, select New > Applications > Custom Application.

  2. Click OK.

  3. Provide an application name and directory information (or accept the default), and click Finish.

  4. Right-click the project name and select New.

  5. Under Web Tier, select JSF.

  6. Select ADF Task Flow Based on Human Task and click OK.

  7. In the SOA Resource Browser, find and select the .task file where you defined the human task and click OK.

    1. If the human task is in the same application as the task definition, then click File System to use the file browser to navigate to the .task file, which is typically in the composite directory.

    2. If the human task is in a different application, then click SOA-MDS to use the MDS resource catalog and find the .task file in the composite application.

    3. If the .task file is located within the current application, then click Application.

    This displays the Create Task Flow dialog and creates the data controls.

  8. In the Create Task Flow dialog, accept the defaults and click OK.

    The taskDetails1_jspx icon appears in the designer, as shown in Figure 30-4. The task flow has a view, a control flow, and a task return.

To continue creating the task form, see the following: