Mapping Process Data to be Audited

For process data to appear in the Event Viewer, you must map process data fields to the desired work item attributes.

This mapping process is the same as the process for mapping data fields to work item attributes when creating a work list facade - see Creating a Work List Facade. If you have defined a work list facade, and you map process data fields to attributes for which you have specified a display label in the facade, those custom labels also appear in the Event Viewer for the process data entries.

Procedure

  1. In TIBCO Business Studio, open your process and select it in the Process Editor.
  2. In the Properties view, select the Work Resource tab, then expand Work Item Attribute / Audit Event Data Attribute Mappings.
    This displays all of the data fields defined for the process (in the left column) and all of the work item attributes (in the right column). For example:

    If you have a work list facade defined, the list of attributes in the right column shows the display labels for those attributes that were mapped to data fields in the facade.

  3. Map the data fields that you want to appear in the Event Viewer to attributes that are of the same data type. For example:

    As shown in this illustration, data fields can be mapped to multiple attributes, if desired.

    Note that if you map a data field to an attribute of a smaller size, a warning marker is shown that indicates this:

    This may result in data shown in the Event Viewer being truncated to the length of the attribute. For information about the type and size of each work item attribute, see the "Work Item Attributes" topic in the TIBCO Business Studio Process Modeling Concepts guide.

Result

The example shown above results in the value in the Contact Name field appearing in Attribute8, and the value in the Issue Description field appearing in Attribute3 and Attribute10 in the Event Viewer. For example:

Note that this example also illustrates the result of mapping a data field to an attribute whose length is not sufficient to hold the entire value entered in the data field. In this example, the Issue Description field was mapped to an attribute (Attribute10) that is 20 characters in length. Since the value entered in the Issue Description field exceeds 20 characters, the value shown in the Event Viewer is truncated. Since it is truncated, the value shown in the Event Viewer is prefixed with *nn*, where nn is the number of characters that were entered into the data field.