How to trigger Metric calculation

rrataj
Kilo Expert

Hi, 

I would like to use the Metric Definition to calculate some values (with a script) into the metric_instance, 

usually the metrics are triggered with Business Rule,

however I am using a view and don't want to create special form just for "Query" option for BR

can I trigger the Metric calculation from the scheduler ? 

 

 

1 REPLY 1

Dante Ditan
Kilo Sage

Hi Rrtaj,

 

 

Why you need to create metric calculation in a view? The view will just serve as for reporting etc right?

 

I would suggest to create a metric definition depending on the field you want to and make it sure it is triggered on the correct table. You don't need to create any business rule for that.

 

Sample:

find_real_file.png

Every time the assignment_group field changed it will run this metric depending on the condition. It's up to you on how to play the duration field.

 

Thank you

Dante