Displaying a Case Object in a User Task - Using a Form

You can display a case object in the form that is displayed when a user performs a user task. You can also, optionally, automatically update the case object with any changes made by the user when the user closes or submits the form.

Prerequisites

An already populated data field must exist, containing a case reference to the case object that you want to display.

Procedure

  1. Select the user task from which the form will be displayed.
  2. On the Interface tab of the Properties view, make sure that the appropriate Case Reference data field is included in the Parameters list, either explicitly or as part of the [All Process Data] setting.
  3. If you want to automatically update the associated case object when the form is closed or submitted, set the data field's mode to IN/OUT and click Mandatory.

Result

At run time, when the form is displayed, the referenced case object is retrieved from the case data store and displayed in the form.
Note: Association and aggregation relationships are ignored when the form is generated.

When the form is closed or submitted, any changes made to fields that are part of the case object are written back to the case data store.