Hide user from assignment group

Ankita9793
Tera Contributor

Hi All,

 

I have a requirement where there are 2 task, if first task is assigned to person 'A' of ABC Assignment Group then in second task person 'A's' of ABC group name should not be visible/ should be hidden. Both the task will be assigned to the same group.

 

I was trying to do this in workflow but if there is any other way of doing it, please suggest

TIA!!



 

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Ankita9793 

 

https://www.servicenow.com/community/itsm-forum/same-user-should-not-get-assigned-to-two-sc-task-of-...

 

Credit  @Brad Bowman  

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

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

View solution in original post

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Ankita9793 

 

https://www.servicenow.com/community/itsm-forum/same-user-should-not-get-assigned-to-two-sc-task-of-...

 

Credit  @Brad Bowman  

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

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

Sandeep Rajput
Tera Patron
Tera Patron

@Ankita9793 

Does your two tasks have a common parent (An RITM/Incident/Change/problem etc.?)

 

If yes then you need to create a reference qualifier on Assigned_to field for this purpose. The reference qualifier will call a script include method to check if a task with the common parent is already assigned to any assignee within the assignment group and based on it it will return a comma separated sys_idIN query with the sys_ids of those users who do not have the tasks assigned to them.

 

Hope this helps.