Unable to restrict "New" button for ITIL users in related list

VIKAS MISHRA
Tera Contributor

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. 

 

VIKASMISHRA_0-1707148566411.png

 

9 REPLIES 9

bradleydebono
Mega Guru

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

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.

VIKASMISHRA_1-1707149494156.png

 

 

I see there you have "Omit new button" ticked. 

 

If you untick this, it should show.

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]

****************************************************************************************************************

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @VIKAS MISHRA 

 

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]

****************************************************************************************************************