Detect Orphaned Assignment Groups

JinkaH
Tera Contributor

How to detect and identify orphaned assignment groups  in Incident if the group is inactive and no groupmembers present in the group table 

6 ACCEPTED SOLUTIONS

@JinkaH 

Can you close this thread as its different requirement. You can open new thread with proper requirement use case .  I will see and check and try to help.

 

Thanks and Regards,

Mohammed Zakir

View solution in original post

@JinkaH 

service desk mean incident ticket? can u state requirements.

You can post a new question, detail it out properly

 

Regards,

Zakir 

View solution in original post

@JinkaH 

If iam understanding is correct:

1) Get group with Zero members.

2)Reassign all the tickets of these group to other active group with user, so which is this group?

3) why flow designer? is it specific requirement. 

4) what's the trigger daily, weekly?

 

This will take time to build in PDI, i suggest you to post as new question in developer forum so other can have their inputs too,

 

Regards,

Mohammed Zakir

 

View solution in original post

@JinkaH 

You are right to go to flow designer as approach.

I was just  asking if it was specific business requirement to use as flow designer.

Other approach i can think is Schedule jobs.

 

Regards,

Mohammed Zakir

View solution in original post

Hi @JinkaH 

If you want to use less code or a no-code solution, the Flow Designer is the best option.

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

Hi @JinkaH 

My basic video will be helpful for understanding the Flow Designer process.

 

https://youtu.be/IRSPf3_Wq-o

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

CISITSM #ITSM #csa #ServiceNow #TechnoFuncational Disclaimer: These videos are from my training batch. These videos did not promote any ServiceNow Sales pitch or marketing. These videos are only for knowledge purposes & basic on my experience & Knowledge. Redistribution or copying of functionality
18 REPLIES 18

JinkaH
Tera Contributor

If not flow designer so which type of method can we use and group is service desk
Trigger daily.

@JinkaH 

You are right to go to flow designer as approach.

I was just  asking if it was specific business requirement to use as flow designer.

Other approach i can think is Schedule jobs.

 

Regards,

Mohammed Zakir

JinkaH
Tera Contributor

Can you please help me with flow designers

@JinkaH 

Here is how I would approach, here are rough steps you can consider and trying building logic using flow designer:

 

1) Scheduled Trigger Daily

2) Lookup Records (sys_user_group)

3) For Each Group (iteration step)
    3a) Lookup sys_user_grmember (members of this group)
     3b) IF Group Members count = 0 (if condition)
           3c) assign Group sys_id to flow variable orphanGroups  (create orphanGroups                                variable)
4) Lookup records for task table
use condition : assignment_group IN orphanGroups
5a) Update Record 

assignment_group = <sys_id for service desk>
description = "Auto reassigned to service desk group"

 

For step 4 I considered task table as it contains all incident/ problem/change

 

Regards,

Mohammed Zakir

Hi @JinkaH 

If you want to use less code or a no-code solution, the Flow Designer is the best option.

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

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