Configure the user-defined fields in your FileNet P8 environment
and IBM®
WebSphere® Business Monitor environment
to allow WebSphere Business
Monitor to
receive event data from active FileNet P8 processes.
Complete the following general steps to define the fields
to be monitored so that
WebSphere Business
Monitor can
display the sum and average amount per location for the example process
described above.
- In WebSphere Integration Developer, add the user-defined fields
to the FileNet P8 BPM Monitor Model.
- Deploy the updated monitor model. For more information, refer to the Deploying a Monitor Model
section in the IBM
WebSphere Business Monitor documentation.
- Add the user-defined fields to the FileNet P8 BPM Monitor Model.
- Add the user-defined field event definition.
- Add the data fields Amount and Location to
P8.BPM.Base event.
- In IBM WebSphere Integration Developer (WID), import
the Project Interchange file, BPMMonitoring.zip.
- In Project Explorer under Event Definition, select P8
BPM and click P8.BPM.Base.
- On the Event Definition tab in
the ExtendedData section, add the user-defined fields as child elements
of business Data.
VariableData
Name: Amount
Type: integer
Name: Location
Type: string
- Add user-defined fields (Amount and Location)
that we want to monitor and their values at the process level.
- Under Monitor Details Model, right-click the P8 BPM
Process monitoring context in the model tree, and click .
- In the Create New Metric window, type Amount in
the Name field and click OK.
- In the Metric Value Maps, add the expression to set
the value of Amount.
- In the form editor, specify the type as integer.
- Repeat steps 2 and 3 above to add the Location metric
in the process monitoring context. Specify the type as string.
For detailed information regarding metric editing, refer to the WebSphere Business Monitor
documentation.
- Add the Locationdata field as a dimension
for the BPM Process MC Cube. Define the Location dimension:
- On the Data Mart Model tab of the editor, select BPM
Process MC Cube in the Dimensions table, and click Add
Dimension.
- In the Create New Dimension window, type Location in
the Name field and click OK.
- Select the dimension and click Add Attribute.
In the Create New Dimension Attribute window, type a name into the
Name field and click OK.
Click
the Source cell and click the button that is
displayed to open the Select Attribute Source window. Select the source
of the attribute - Location.
- Select the Is Key check box.
- Add the Amountdata field as a measure
for the BPM Process MC Cube. Define the TotalAmount and AverageAmount measures
- On the Data Mart Model tab, scroll
down to the Measures table.
- Select the BPM Process MC Cube and click Add
Measure.
- In the Create New Measure window, type TotalAmount in
the Name field and click OK.
- Click the Source cell and click the button to open the
Select Fact Attribute window. Select the source of the measure - Amount.
- Click the Aggregation Function cell
and select the function Sum.
- Repeat the prior steps to add the AverageAmount measure,
selecting the function Average.
For detailed information regarding data mart editing, refer to the WebSphere Business
Monitor documentation.