The CreatorCon Call for Content is officially open! Get started here.

OnSubmit Client script to set value of assignment group

Deepika Mishra
Mega Guru

I am trying to set value of assignment group using client script on onSubmit functionality, but the below code is not working. Please help :
find_real_file.png

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

You should use an Assignment rule. All that script is doing is setting an assignment group variable, not the assignment group on the record.

View solution in original post

29 REPLIES 29

Mdsaqib826
Tera Expert

Hello Deepika,

you can also use Before Business rule and mentioned the same condition so it will validate your condition and accordingly set assignment group or give alert if not matching.
For specific used cases where you need to assign any assignment group always use assignment rule to setting group or assigned to field.

insightful information

Very helpful 

Informational 

This is helpful, thanks.