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

25 REPLIES 25

Mdsaqib826
Tera Contributor

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.