Incident assigned to and assignment group not sync

XYZ
Tera Contributor

Hello Community,

In incident form, assigned to field is not sync with assignment group members. In the first place, when assignment group was changed, it didn't clear the assigned to field. But, in second attempt when i tried changing assignment group it cleared.

Why it didn't clear the assigned to field at the first place, that is the concern. Please help me with some solution or troubleshooting to fix this.

Thank you!


2 REPLIES 2

Community Alums
Not applicable

Hi @XYZ ,

Cause

Logged in username is getting passed in URL parameter when the user is using:"assigned to me " option while creating the incident.

Resolution

Apply one of the following approaches: 

  1. Write a display business rule which will check logged in user is part of the current assignment group or not, if not then it will clear the 'assigned to' value

  2. Create an onLoad client script which will call script include. 
    In the script, write logic to check group membership. If the logged in user is not part of the assignment group then clear the value

 

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @XYZ 

 

OOTB , there is not validation on this part. To make it working , suggested by @Community Alums either write a BR or client script.

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

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