I have created a business process in Designer, with a KPI fact “lastValue” (which is a number) and dimension “Province” and aggregation type “last value”. I have uploaded this, and when I run instances of my process, my KPI is created and seems to be working fine. If I look at the eventMap that was created, it has an eventType = “MyProcess - BPMDoc/doc”
Now, in MWS, I would like to create a new KPI that would give me the average value for the dimension “Province”. What I did was:
- Create a new eventMap “testAverage” for my business process. I see the eventType to a new value, “eventTypeTest”
- Add a field named “Province”, of type=dimension, and I selected the existing dimension “Province”
- Add a field named “averageCount”, of type=measure, calculation type=average
- Create a KPI named “averageValuePerProvince”, selected my new eventMap and dimension. When I select my eventMap, my KPI is set automatically to calculation “Average”, which is good.
But if I run process instances, I don’t see any data for this average KPI, even if I see data for the base KPI that was created in Designer.
Is there anything that I’m missing? Where is it going wrong?
Thanks a lot for your help,
François
#webMethods#webMethods-BPMS#MWS-CAF-Task-Engine