Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Unable to submit record due to error: "Invalid update. Match not found, reset to original"

Mayank Das
Tera Contributor

Hello all

 

I am trying to update the value of 'Life Cycle Stage' and 'Life Cycle Stage Status' on the basis of selected values in 'State' and 'Substate' on a alm_hardware form. The default value of State has been set to 'In use' as per the requirements. I created an onLoad client script to set the value of Life Cycle Stage to 'Operational' and Life Cycle Stage Status to 'In use' (again, as per the requirements).

 

But I am unable to save any record. Getting the following error on Submission: "Invalid update. Match not found, reset to original".

 

MayankDas_0-1704395674894.png

 

Following is the code snippet that I have used on alm_asset table (with 'Inherited' checbox checked):

 

function onLoad() {
   g_form.setValue('life_cycle_stage','53584655b7620010ee0d3177ee11a97f');
   g_form.setValue('life_cycle_stage_status','e4990295b7620010ee0d3177ee11a9db');
}

 

Can someone please explain where I am going wrong?

 

Thanks in advance!

10 REPLIES 10

It's not occurring to me at this time, how/why this is

It is because of this:

9.png