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.
- Procedure
- In TIBCO Business Studio, open your process and select it in the Process Editor.
- 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.
- 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 might 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.
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.