Skip to main content
Question

Is there a way to report on the rules in the rules engine?


sarah_couch
  • Contributor ⭐️⭐️⭐️⭐️
  • 30 replies
I need to create a comprehensive report on active rules in the rules engine including what actions will result in the rule running and when the rule is scheduled. Is there a way to create such a report? I think I have to do this manually but would love it if that was not the case. 

21 replies

manu_mittal
Forum|alt.badge.img+2
  • Gainsight Employee ⭐️
  • 639 replies
  • January 22, 2016
Hi Sarah,



You can build such a report using the "Automated Alert Rules" object (Sample below). The trigger criteria is available, but the format is a tad hard to read.







Thanks,

Manu

sarah_couch
  • Author
  • Contributor ⭐️⭐️⭐️⭐️
  • 30 replies
  • January 22, 2016
Thank you, Manu!

darkknight
Forum|alt.badge.img+4
  • Expert ⭐️
  • 1978 replies
  • February 9, 2016
Where is the Rule Name? I cannot find this field in the Automated Alert Rules object.  Kinda meaningless report if I cannot display the name.

sarah_couch
  • Author
  • Contributor ⭐️⭐️⭐️⭐️
  • 30 replies
  • February 9, 2016
Hi Jeff, I couldn't find Rule Name. I ended up making my own .xls to track our rules. It was cumbersome but worth it in the end.

darkknight
Forum|alt.badge.img+4
  • Expert ⭐️
  • 1978 replies
  • February 15, 2016
This reply was created from a merged topic originally titled Reports 2.0: Need Rule Name to be associated with Automated Alert Rules object.



Our rules database is getting difficult to keep track of, so I want to be able to run a report of all Rules that we can export.

This Community post says that the Automated Alert Rules object is the one to use, but there appears to be no 'Rule Name' field.https://community.gainsight.com/gainsight/topics/is-there-a-way-to-report-on-the-rules-in-the-rules-engine



I opened up a support ticket on this and they confirmed Rule Name is not available and the following workaround was suggested:  "For what its worth, I am in there looking at it right now and the only workaround I can see aside from creating an .xls would be if you copy and pasted the rule name to start off the description. i.e. Rule Name - Description. Still would be cumbersome though"



Cumbersome indeed.  I rather feel this to be a bug because in other objects such as Playbook, CTA, Task, the Name or Subject is available - without them you would have no idea on which instance of each you are reporting. The same should be true of every object - the field that provides the name of the object instance should be reportable.

sundar
  • Expert ⭐️
  • 534 replies
  • February 15, 2016
Jeff & Sarah,



Am sorry that report on Automated Alert Rule object is not usable. The reason being, the object was modelled to store the part of rule info in a JSON and dump in a field. This was never designed to be a first class citizen in SFDC but just a bin of Rule info. The other part of the rule is stored in Action Templates where the config of each action is stored. We are planning to move the rule 



Bottomline, For better manageability of rules you would need an export of snapshot of all the active rules. On this, we have a enhancement in roadmap to export the snapshot of the active rules into a doc or HTML and send it via email. 



Will this enhancement address your requirement? 

darkknight
Forum|alt.badge.img+4
  • Expert ⭐️
  • 1978 replies
  • March 12, 2016
If it includes the rule name, trigger criteria, setup action details and schedule, then yes.



Would there be a way to include information on calculated fields?

sundar
  • Expert ⭐️
  • 534 replies
  • March 14, 2016
Yeah it would have. 



I would say the same format you see on the calc fields in verbal format will be there in the exported doc,

sundar
  • Expert ⭐️
  • 534 replies
  • May 19, 2016
You have two new fields in Automated Alert rule by the name "Last Rule Updated By" & "Last Rule Updated Date" which will have the values of who modified the rule last. Let me know if that helps. 



Context - Last modified fields gets updated whenever the scheduled rule runs so that can't be used in a meaningful way.

sundar
  • Expert ⭐️
  • 534 replies
  • October 18, 2016
To pave way for more robust and manageable rules we are moving the Rules definition from "AutomatedAlertRules" Object to MDA with our next release. Do you have any reports configured on this object and any other process dependent on this object?

darkknight
Forum|alt.badge.img+4
  • Expert ⭐️
  • 1978 replies
  • October 18, 2016
I don't believe so.

sara_hoeffler
Forum|alt.badge.img
  • Contributor ⭐️⭐️⭐️⭐️⭐️
  • 58 replies
  • October 18, 2016
Nope.

sarah_couch
  • Author
  • Contributor ⭐️⭐️⭐️⭐️
  • 30 replies
  • October 18, 2016
We do not either.

allie_gold
Forum|alt.badge.img
  • Helper ⭐️
  • 39 replies
  • December 22, 2016
What's the status on this? I'd like to see an export also where I can see the conditions/triggers/criteria and the resulting actions that occur from each of my rules.

darkknight
Forum|alt.badge.img+4
  • Expert ⭐️
  • 1978 replies
  • December 22, 2016
I don't know if it completely meets the need you're looking for Allie, but you might try testing out the Configuration Snapshot:  https://support.gainsight.com/hc/en-us/articles/235705027-Gainsight-Config-Snapshot



It does contain the rules, fields and filters, action criteria etc.  but it doesn't contain any info about the actual results from any of the rules runs.

allie_gold
Forum|alt.badge.img
  • Helper ⭐️
  • 39 replies
  • December 22, 2016
This meets enough needs, IMO. Thanks so much Jeff!

kate_green
Forum|alt.badge.img
  • Helper ⭐️⭐️
  • 262 replies
  • January 17, 2018
I don't see any update here so I'm going to assume that Config Snapshot is still the best approach for auditing my rules?



Here's the updated link (Jeff's above was broken)

https://support.gainsight.com/Product_Documentation/Administration/General_Administration/Gainsight_...

kate_green
Forum|alt.badge.img
  • Helper ⭐️⭐️
  • 262 replies
  • January 17, 2018
Unfortunately it appears that the Snapshot does not include Bionic rules - can anyone confirm the best way to report on all rules in our Gainsight instance?

darkknight
Forum|alt.badge.img+4
  • Expert ⭐️
  • 1978 replies
  • May 21, 2018
Does anyone know if there is a way to report out on Bionic Rules in lieu of Config Snapshot which still doesn't capture them?

jitin_mehndiratta
Hi Jeff/Kate,



We are planning to capture Bionic Rules in config snapshot. It should be available soon. I will update on this post once the exact timelines are decided.



Regards,

Jitin

darkknight
Forum|alt.badge.img+4
  • Expert ⭐️
  • 1978 replies
  • May 26, 2018
In the meantime are these available in an object from which I can generate a report?

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings