Use of Display and Query business rule

snowlearner
Kilo Expert

Can anyone tell me the use of display and query business rule.

Also whats the difference between the two?

Thanks.

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

The SN Nerd
Giga Sage
Giga Sage

Two common use cases


Display - for when you want to run server side code onLoad


When an incident is opened, display the number of related open incidents.



Query - for removing the annoying 'results hidden from ACL'


An ACL is restricting 10 record in a list. The list says '10 records hidden by security' - I want it to show 0 record.


Create a query business rule that mimics the read ACL condition for that table.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022