How to auto populate assignment group based on business service on Incident form before submitting?

Dhanashri Galga
Tera Contributor

Hi,

I am trying to auto populate assignment group on incident form when particular service is selected on incident form.
However I am not sure what would be the best approach to do this? Would it be onLoad Client Script or a display BR?

Currently I am trying with display BR. However, it's not auto populating the Assignment group once Service is selected on the form.

This is for when an incident is created from a backend. For Incidents which gets created from a Virtual Agent/Service Portal, I have created assignment rules which works fine.
Can anybody help with this?

5 REPLIES 5

Murthy Ch
Giga Sage

Hi @Dhanashri Galgalikar 

try with before insert BR.

 

Thanks,

Murthy

Thanks,
Murthy

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

If you require this to happen as soon as service is changed then onChange client script

If you require this to happen in backend then you can use before insert/update BR

Regards
Ankur

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

Hi Ankur,

I need this to happen as soon as service is selected before submitting the incident form.
Once service is selected it should auto populate the assignment group on the incident form. 

Hi,

then you can use onChange on service field

regards
Ankur

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