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