We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

A query business rule working with Reports but not on dashboards

Yoganand
Tera Contributor

I am using the below condition for the "before" query business rule :

 

gs.action.getGlideURI().toString.indexOf('aggregate')>-1 || gs.action.getGlideURI().toString.indexOf('pa_dashboard')>-1

 

It is working fine on Reports but not on dashboards.

 

Can anyone help with correct condition so that it validates on dashboards as well?

 

0 REPLIES 0