Restrict user to resolve the P1/P2 incidents. and only Group-A should have access to resolve them

bankuru bhargav
Tera Contributor

Hi All,

I'm trying to restrict, the users to resolve the  P1/P2 incidents. and only Group-A have access to resolve the P1/P2 Incident. how can we achieve 

12 REPLIES 12

Dr Atul G- LNG
Tera Patron
Tera Patron

@bankuru bhargav 

 

Update the UI action with condition

 

https://www.servicenow.com/community/developer-forum/how-would-i-limit-a-ui-action-to-a-certain-grou...

 

(current.getRecordClassName() == 'incident' || current.getRecordClassName() == 'problem') && gs.getUser().isMemberOf('SN_IT Managers')

 

 

*************************************************************************************************************
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]

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

Hi AG,

Bit confused i just need to create a UI Action or need to update the OOB ? 

You need to update OOTB UI action.

*************************************************************************************************************
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]

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

There is no OOTB UI action, can you please suggest. the name of the UI Action?