Mark HR case confidential and once its mark true then case should be visible to HR admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2020 11:43 PM
Created a check box for HR case confidential . When its checked- true then the HR case should be only visible to HR admin.
I dont want to go with ACL . Any other way to approach this?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 12:08 AM
Hi,
why insert/update BR is required? you just want to restrict the records visibility
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 12:25 AM
okay yeah will try with query BR and in when to run I have already mentioned when mark confidential is true . Also where to mention gs.hasRole(hr_admin);
It should work the other way too ->
If the mark confidential is unchecked it should be visible to everyone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 12:54 AM
Its not working .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 12:54 AM
Its not working ankur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2020 12:59 AM
Its not working Ankur.