If the user is assigned with ITIL or Admin role so non itil role should be removed

Raj12341
Tera Contributor

Hello Developer

Requirement is that when a user added on ITIl group so non itil group will be remove automatically.

Thanks.

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Raj12341 

 

Few points

1 Do you 2 groups named as ITIL and NON ITIL?

2. How you want to do this, like from catalog item or doing manually?

 

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

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

If the user is assigned with itil or admin role by getting added to the itil group then remove the non itil roles from the user profile

Hi @Raj12341 

 

Happy , now you use the right terms here.

 

But what is use case of this

Ex

 

A is user having approver role and now if you add A in ITIL Group and then Approver role need to be removed. Where A has nothing much to do with ITIL, so how you handle these case?

 

This is one example,  and Admin role to all users is TOO RISKY.

 

So 1st, is need to see the business impact and then we can plan a solution , may be scheduled job or Flow or catalog item.

 

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

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