Configuration records - how to set visibility

pironbi
Kilo Contributor

Hi All -

I am trying to create a business rule that will effectively only allow records to be visible with certain criteria to certain groups.
I am not able to find how to do this at the record level and was hoping someone might have an idea.
I can find how to hide lists, etc... but filtering the records is giving me trouble.

Appreciate any help anyone can provide!

Thanks

Bill

1 ACCEPTED SOLUTION

Hi Bill, indeed it makes sense. The only changes you need to do then are:



Change the prior ACL you created so that its name instead of...


Server [cmdb_ci_server] it then becomes Server [cmdb_ci_server].install_status




By doing this change you will then ONLY apply the ACL to the field install_status of the cmdb_ci_server table.




As for the onBefore onQuery business rule, please make it inactive or delete it since we would not longer need it since that one will restrict all the record.




Thanks,


Berny


View solution in original post

20 REPLIES 20

Brad Tilton
ServiceNow Employee
ServiceNow Employee

Hi Bill,



You can set the visibility for records with either a table.none ACL or before query business rule. If you can give us some more details around what you've tried so far we can help you further.


Hi Brad,


Thanks for the response.


What I am trying to do is make configuration records with install status of 99 (or hidden) visible only too eCMDB admins and a few other roles. While everyone else would see everything but those records.



Kind regards,


Bill



--


William A. Pirone | Automation, Efficiency & Quality Control | Global Infrastructure Services | IT Services



Ernst & Young LLP


Office: +1 201 872 0219 | Bill.Pirone@ey.com<mailto:Bill.Pirone@ey.com>


Thank you for considering the environmental impact of printing this email.


Brad Tilton
ServiceNow Employee
ServiceNow Employee

You could add a read ACL on configuration item where Install Status = Hidden and add the roles to the roles list.


Thanks, Brad — if that does not work, is there a way to do it with a query in a global business rule?


Thanks!



Kind regards,


Bill



--


William A. Pirone | Automation, Efficiency & Quality Control | Global Infrastructure Services | IT Services



Ernst & Young LLP


Office: +1 201 872 0219 | Bill.Pirone@ey.com<mailto:Bill.Pirone@ey.com>


Thank you for considering the environmental impact of printing this email.