Error occurs when I save the incident - Invalid update - Match not found, reset to original

littlelingling0
Tera Contributor

I setup some client script to auto fill in the information, when I save the incident, the following error occurs. If I click 'Save' again, it can be save normally.

 

1 ACCEPTED SOLUTION

You need to pass in sys id of group instead of name. try something like below

g_form.setValue('u_owner_group', 'xxxx sysid of group xxxxxxxxxx'); 

View solution in original post

7 REPLIES 7

Thanks for your great help.

In the forum, many people said I need to use the value to the field instead of a sys_id.

I don't recommend using name since you might have group like Group 1 and Group 12 so setting it to Group1 will not work. sysid is always unique to each record so script knows which record to pick.

Thanks... ^^