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.

Is this a Tag Governance Policy limitation?

martiniozev
Tera Contributor

Hello,

 

I have a Tag Key & Value policy that compares Application tag against existing Business Applications:

 

var tagValues = [];
var gr = new GlideRecord('cmdb_ci_business_app');
gr.addQuery('life_cycle_stage_status.name', 'In Use');
gr.query();

while (gr.next()) {
var Item = gr.getValue('name');
tagValues.push(Item); }

 

When CIs in scope are above 100k the policy executes with no errors, however nothing is populated on the Dashboard. I've checked the underlying tables and a Business Rule that triggers the population of the table source for the Dashboards (sn_itom_tag_health_listing) and apparently when there are many CIs audited by the policy we hit a threshold described in KB0749085 - String object would exceed maximum permitted size of 33554432.

Any suggestions how to go around it, without segmenting the CIs in scope?

 

0 REPLIES 0