Unable to restrict "New" button for ITIL users in related list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 07:56 AM
In the RITM form's related list we have related list for tasks records, where we can see the "new" button is visible only for Admin users.
I want to make the changes so that the new button will be visible only for the admin users and ITIL users to create new tasks.
But not sure how to do it, below i am adding the screenshot that how the list control of that related lists looks like, please suggest shat changes i can do here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 08:06 AM
Hi Vikas,
There are two ways to achieve this - You can add the ITIL role to the "Edit Roles" field which is on the right side of the form in your screenshot.
This solution will only prevent users from accessing this "New" button on the related list. It won't prevent them from creating records on the "sc_task" table if they want to/browse there.
To get around this, you can update the ACLs on the "sc_task" table so the Create operation is only possible for users with the ITIL role. This should also hide the "New" button on this related list.
If this was helpful, please mark it as the solution!
Kind regards,
Brad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 08:11 AM
I just wanted to restrict the new button visiblity to the related list
Adding role in field "Edit role" is not working, still itil users are unable to see the new button.
Below is the screenshot that what changes i have done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 08:14 AM
I see there you have "Omit new button" ticked.
If you untick this, it should show.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 08:18 AM
Good catch .. @bradleydebono
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 08:13 AM
Try
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692571
also you can try ACL , suggested by @bradleydebono
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************