How to populate assignment group based on assigned to field on change_request ?

Ujjwal Rana1
Kilo Contributor

Need to populate all assignment groups based on assigned to on change_request form.
I tried overriding assignment_group and setting dependent value assigned_to but not working. 

Need more suggestions on this.

1 ACCEPTED SOLUTION

AbhishekGardade
Giga Sage

Hello Ujjwal,

You need to make use of advanced reference qualifier in order to achieve this functionality.

In Referene Qualifier, you need to call script include where you can filter the groups and return the result to reference field assignment group.

You may refer this script,

Advanced Reference Qualifier Using a Script Include

Filter Assignment Group based on Assigned To

To know more about reference qualifiers,

https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/script/server-scripting/concept/...

Please mark as Correct Answer and Helpful, if applicable.
Thank You!
Abhishek Gardade

Thank you,
Abhishek Gardade

View solution in original post

3 REPLIES 3

AbhishekGardade
Giga Sage

Hello Ujjwal,

You need to make use of advanced reference qualifier in order to achieve this functionality.

In Referene Qualifier, you need to call script include where you can filter the groups and return the result to reference field assignment group.

You may refer this script,

Advanced Reference Qualifier Using a Script Include

Filter Assignment Group based on Assigned To

To know more about reference qualifiers,

https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/script/server-scripting/concept/...

Please mark as Correct Answer and Helpful, if applicable.
Thank You!
Abhishek Gardade

Thank you,
Abhishek Gardade

Any updates on this?

Can you please mark my response as correct and close this thread so that others with the same question in the future can find it quickly.

Thank You!

Abhishek Gardade

Thank you,
Abhishek Gardade