How to trigger Metric calculation

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2018 01:57 PM
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 ?
- Labels:
-
Performance Analytics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2018 06:13 PM
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:
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