1.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-1727938619586.png

 

 

8 REPLIES 8

Mark Manders
Mega Patron

Answer is already given: https://www.servicenow.com/community/developer-forum/in-change-form-based-on-the-service-selected-as...

 

Unclear why exactly the same question is asked again, without any mention of the provided solutions and why they don't resolve your issue.


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

@Mark Manders  

 

I am unclear with your response could you please provide , complete configuration steps  

I gave you the script in my response between brackets. Just apply that (validate that the fields are correct) and it works. I have it running for incidents on my instance and it works without any issue: current.assignment_group = current.business_service.support_group;


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

Eshwar Reddy
Kilo Sage

Hi @nameisnani 

create a Onchange client script and make a glide Ajax call to get the support group 

Thanks
Eshwar