How to set view rule for list view only

Eli Guttman
Tera Guru

Hi,

I'm familiar with view rules that allow to enforce a specific view on form, according to defined conditions.

Does anyone know how to achieve the same functionality for lists? is there an option like that?

Thank you!

2 REPLIES 2

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI Eli,



Can you check Self Service Section.



Whenever we open incident from this section we are forced to self service view on list as well as forms if we open incident from this list.



This will help you.



In this, on application menu configuration they have specified View which should be used.



Regards,


Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi Eli,



If you make a view rule with script (advanced checked) there is a variable is_list that you can check. if it's a list, this variable is true. So then you can base the script to put a specific view when it's true and something else when it's false:



find_real_file.png


Control when the system displays a view