Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

is your sys_id value correct?

yes

I would try setting assignment group as a variable and passing it in, and double check the item and everything else is correct. 

Could you please help with code, because I didn't get the above.

Just to be clear, is this for a Catalog Item?