Revert back updates done through Background script in Domain table

shraddha_agrawa
Tera Expert

Hi,

 

Need help to recover the updates done through Background script on the domain table.

 

The domain table is not being Audited.

 

I have updated the parent of all the domains in my system,by mistake and need to have the data same as before in the instance.

 

Is there a way out of restore the updates back?

 

PS: in my script i have used below lines because of which i am unable to find too.
dm.setWorkflow(false);
dm.autoSysFields(false);

 

Please help if there is a way out.

 

Thanks

 

2 ACCEPTED SOLUTIONS

Murthy Ch
Giga Sage

Hi @shraddha_agrawa 

Go to script execution history 

Under related links you can see the rollback related link

Execute that then the updates which you made will be rolled back.

 

Thanks,
Murthy

View solution in original post

Hi @shraddha_agrawa 
See the below screenshot for your reference:

MurthyCh_0-1669629319923.png

Hope it helps

 

 

Thanks,
Murthy

View solution in original post

4 REPLIES 4

Murthy Ch
Giga Sage

Hi @shraddha_agrawa 

Go to script execution history 

Under related links you can see the rollback related link

Execute that then the updates which you made will be rolled back.

 

Thanks,
Murthy

Hi @shraddha_agrawa 
See the below screenshot for your reference:

MurthyCh_0-1669629319923.png

Hope it helps

 

 

Thanks,
Murthy

shraddha_agrawa
Tera Expert

Hi,

 

this has reverted back the changes, but the reference fields are not working as expected.

 

is there a way we can revert all the changes to a particular timestamp, ie. i can make the insatnce back to the time as it was before i ran the script.

 

Thanks

Hi @shraddha_agrawa 

If you executed more than one time then you need to revert the change for each record in script execution history table. 

Ex: If you run the script for 5 times(while updating through script) then you need to execute revert back for 5 times.

 

Thanks,
Murthy