Choosing Fields to Display in a Default Form

When you explicitly add a primitive data field as a parameter to a user task, the default form for that user task will show a control that corresponds to that parameter only. The form will no longer contain controls for all data in the business process.

Procedure

  1. Click the user task Specify claim type to select it.
  2. In the Properties view, click Interface:

    The Parameters table is empty, and the grayed type indicates that All Process Data is available to appear on the default form.

  3. Click the plus sign (+) on the far right of the Parameters table to open the Select Data Field or Formal Parameter dialog box.
  4. Click the data field IsFault in the Matching Items list, and then click the Add button to move the data field to the Selection area. Click OK.
  5. With the business process displayed in the Editor view, save the business process by clicking the Save icon, clicking File > Save, or typing the keyboard command Ctrl+S.
  6. Preview the default form for this user task again, now that a parameter has been defined. To do this, right-click the user task in the process editor and click Form > Preview.

    Notice that the form now contains only a single control corresponding to the parameter that was specified in the user task interface, instead of displaying controls for all of the business process data.