Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Performance Analytics Automated Indicator using a Script Include

crowe1288greg
Tera Contributor

Due to the metric I'm needing, I've had to implement a script include within an Automated Indicator.

 

I've created the automated indicator with a script include to determine the incident metric records. Within the automated indicator additional filter conditions, I have the sysid is one of with the script include name. The script returns an array of SysID's. This works as expected. The Analytics Hub has the correct count, and the correct records are displayed.

 

My problem is now I need an automated indicator for the summed duration of these incident metric records. I've created a script include that sums the duration for the desired records. How do I get the summed duration to be the score saved for the automated indicator?  Since the above automated indicator is receiving an array of sysid's, its pretty straight forward. 

 

0 REPLIES 0