Auto population of Incident assignment group from Support group of Service Offering

PrashanthiS
Tera Contributor

I am trying to implement a feature for Service Offering. In the incident form, the assignment group should be automatically populated from the support group of the service offering. When the service offering is changed in an incident, it needs to check the support group of the service offering.


if(support group of service offering is not empty)
{
Assignment group of an Incident = Service offering support group
}
else if(support group of service(cmdb_ci_service) is not empty)
{
Assignment group of an Incident = Support group of Service
}
else if(support group of selected CI in the incident is not empty)
{
Assignment group of an Incident = Support group of selected CI in the incident
}
else
{
Assignment group of an Incident = 'ServiceNow'
}

 

Can you help on this for the script of Business rule or Client script

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@PrashanthiS 

what script did you start with and where are you stuck?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

PrashanthiS
Tera Contributor

@Ankur Bawiskar , I haven't yet started any script. I have no idea.