Where is the Change Success Score metric script?

Ryan153
Giga Expert

I am setting up the Change Success Score feature for the first time and am a bit confused on how this all works together.

The Indicator Source "Change success score.Metric.Success scores created today" uses the Metric "Change Success Score".

When I look at that Metric Definition record, the Type shows as a Script Calculation, but there is no script, Active is not checked, yet I see Metric records are being created.  What am I missing here?  I searched the Community and Docs and am coming up empty.

Thank you

 

find_real_file.png

5 REPLIES 5

Ashok76
Tera Contributor

Hi Ryan,

             I have the same query, Have you found the script which updates the Change Score

 

Regards,

Ashok Singh

Hello Ashok,

Yes, with some help I now understand this metric is being generated. There is a script includes that is called and generates the metrics.  The name of the script is ChangeSuccessScoreGeneratorSNC.  There are several other scripts for the Change Success feature that you may want to take a look at. As a matter of fact most of the Change Success logic is being handled in these scripts. I originally thought most of this was part of Performance Analytics but that is not the case.  

Hope this helps

-Ryan 

Ashok76
Tera Contributor

Thanks for the support Ryan, Your inputs have helped in broad understanding of scripts used in this Plugin

 

vidit1
Tera Contributor

HI, 
ChangeSuccessScoreGenerator is being called in ChangeSuccessScoreUtilsSNC and ChangeSuccessScoreUtilsSNC from script action "Daily change success score" with event name "pa.job.dc.ended.ok" as well. This is the triggering point of the script include. There are other script action as well like "pa.job.dc.ended.with.warning" and "pa.job.dc.ended.with.error" which calls out when there are warning/error with data collection.

 

Now There is a daily schedule data collection job named "Change success score metrics (Daily)" that is running and calling the script action "pa.job.dc.ended.ok" automatically when successful. From there script include is triggering.
 

Thanks,

Vidit