Populate assignment group based on Field value

Community Alums
Not applicable

Hi all,

 

I have a record producer on Incident Table.

One reference field referring to cmdb_ci table , When i select any CI and submit the incident should go to CI corresponding support group .

How can we achieve this.

 

Thanks

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

you can try with writing a query in script field on your record producer to set the assignment group.

if you will create assignment rule then it will work for both cases .

Case 1: if user will create incident from the normal way then assignment rule will work. 

Case 2 if user will submit the incident form from Record Producer then assignment rule will also work. 

 

So if you want to restrict the group routing only for record producer then you can write the script inside the "script" field on your record producer . if you want the group routing for both the cases then go with assignment rule. 

View solution in original post

3 REPLIES 3

Omkar Mone
Mega Sage

Hi 

You can use Assignment Rules for this purpose - 

find_real_file.png

 

Check this link - 

https://docs.servicenow.com/bundle/helsinki-customer-service-management/page/product/customer-servic...

 

Regards,

Omkar Mone

Ashish21
Giga Expert

Hi,

 

You need to write a Script Include and need to call the same from onChange Client script.

Harsh Vardhan
Giga Patron

you can try with writing a query in script field on your record producer to set the assignment group.

if you will create assignment rule then it will work for both cases .

Case 1: if user will create incident from the normal way then assignment rule will work. 

Case 2 if user will submit the incident form from Record Producer then assignment rule will also work. 

 

So if you want to restrict the group routing only for record producer then you can write the script inside the "script" field on your record producer . if you want the group routing for both the cases then go with assignment rule.