Add the user-defined field to the appropriate monitor context
as a metric.
- To monitor the user-defined field at process level, add it to
BPM Process monitor context.
- To monitor the user-defined field at work item level, add it to
BPM WorkItem monitor context.
To define a user-defined field as a metric:
- In the BPM Monitor Model, go to BPM monitoring and double-click BPM
Monitoring.
- On the Monitor Details Model tab,
right-click the appropriate monitoring context (process or activity)
in the model tree, and click .
- In the Create New Metric window, type a name into the Name field
and click OK.
The name is limited
to 256 characters. The metric is added to the model tree under the
monitoring context, and the form editor opens so that you can define
the metric.
- In the form editor, specify the details of the metric as
follows:
- (Optional) Type a description in the Description field.
The description is used only in the Monitor Model editor and is not
displayed anywhere in WebSphere® Business
Monitor. The character set is unrestricted.
- Select the type from the list.
- (Optional) Type the maximum string length in the Maximum
string length field. This option is available only if
the type is String. The default is 256, and you can enter any value
greater than 0. The maximum string length is added as a constraint
in the database.
- (Optional) To specify a default value, type a number
or a function into the box, or click Edit to
enter an expression.
- Click Add to add a map to the table
and, optionally, enter the expression for setting the value of the
user-defined field.
- Click the Expression cell and open
the Expression Dialog window. If you press Ctrl+Space for content
assist, a small window opens to help you write the expression.
- Select BPM Monitoring.
- Select the inbound event that specifies when the value
is updated in the data mart. Select the inbound event as either a
Process Monitor context or the Work Item context that updates the
value of the metric.
For detailed information regarding metric editing, refer to the WebSphere Business
Monitor documentation.