In change Form - Based on the Service selected , Assigned group has to be poppulate

nameisnani
Mega Sage

Hi Team , 


we have requirement that , In change request ,  Based on the Service selected , that Service Support group has to be populate in the Assignment group .

 

See in the Below screenshot , Service is Firewall NonProd and the Support Group is TCS-Network-SUP >> And the Same support group has to be populate in the assignment group .

 

 

How to fulfill this requirment , can any one please provide script for this , Please provide screenshot for better understanding .

 

Please provide test cases screenshot 

nameisnani_0-1727935250332.png

 

10 REPLIES 10

Kamal17
Kilo Sage

@nameisnani 

There are couple of ways in which this can be done. It includes,

1. Assignment rule

2. Onchange client script

3. Business Rule

 

Better to go with assignment rule as it is easy to configure for your requirement.

Refer to the below sample screenshots of a default assignment rule available in ServiceNow.

Kamal17_0-1727937536348.pngKamal17_1-1727937549134.png

 

If needed, you can also write scripts to set the group value.

 

PS: Hit "Correct", "Helpful" or "Like" depending on the impact of the response.

Regards,

Kamal S

@Kamal17 

@Mark Manders 

 

Please provide complete configuration steps , and screenshot 

@nameisnani 

Mark has already given the answer, but just for clarity I'm adding the screenshots of the scripts below.

Option 1: 

Kamal17_0-1727941637532.png

 

Option 2: (this is based on some of the OOTB assignment rule scripts available in the system)

Kamal17_1-1727941806759.png

 

 

Hope this helps.

 

PS: Hit "Correct", "Helpful" or "Like" depending on the impact of the response.

Regards,

Kamal S

@Mark Manders @Eshwar Reddy 

 

I have done the same , but not working 

nameisnani_0-1727945203267.png

nameisnani_1-1727945239829.png

 

 

Please check my screenshot is there any mistake ?

 

nameisnani_2-1727945306323.png

 

 

Literally just this (I already told you three times now in all the questions you raised on the same thing):

MarkManders_0-1727947412222.png

Any conditions can be applied in the 'applies to'


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark