Associating Existing Data with the Tasks

Fields that are defined in one process cannot be directly used by another process. Data can be passed from one process to another using parameters. You can associate a parameter with a user task in the same way that you have already associated data fields with the user tasks in the business process.

The tasks in this pageflow process will display the user name that was entered during the initial business service, and each task is used to collect a different piece of information about that user.

In this procedure you associate an existing (UserName) parameter with the pageflow user tasks that you created in the previous procedure.

Procedure

  1. Expand the Request Additional Data Pageflow process in Project Explorer until you can see the Parameters.
  2. Select Parameters > UserName in Project Explorer. Drag and drop UserName data field onto each of the three tasks in this process, in turn.
    Note: Note in the following illustration the green outline that displays around the tasks to which the UserName field has already been assigned. This is because the Enable Reference Highlighting button in the toolbar is enabled. When you select a parameter, field or particpant—in this case, the UserName parameter—the tasks to which it is assigned are highlighted. See "Adding Data to the Process" in the How to Design a Simple WelcomeUsers Business Service tutorial for more details.
  3. Each time, a popup menu is displayed. Click Add Data To View.
  4. If you look at the Interface tab in the Properties view for any of these user tasks, the corresponding parameter is displayed.