Restrict record view

Merza Lyn
Mega Guru

We receive a requirement that when a Risk owner is from ATK and created a risk, then a risk user from other site like ATM, ATT, etc is tried to search that risk he/she should not able to view it. 

Example this risk is for ATK.

MerzaLyn_0-1740020075421.png

 

When a risk user from ATM is tried to search that in global search and open it, he/she should not able to view the form.

MerzaLyn_1-1740020171425.png

 

The common role for all our risk users is sn_risk.user

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Merza Lyn 

you can use query business rule and restrict the records.

Did you try that?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Merza Lyn 

you can use query business rule and restrict the records.

Did you try that?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

No I haven't tried it. Can you give sample query business rule script?

@Merza Lyn 

ensure you have query business rule on the table you shared in screenshot.

Example: show records based on some owner field etc

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

I created query business rule and it works. Thank you for the idea.