function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nagendra kumar 21nagendra kumar 21 

How to Update custom setting values, when sandbox get refreshed from prod?

Hi Everyone,

Currently we are manually changing/updating custom field values every time we did refresh from production. But we have different values in Production and sandbox, when we refreshed sandbox values are getting Prod values and we are doing manual changes to them. 
To avoid this manual change is there any other way that can be auto update to old values whenever refresh is done??

Note: -  we can do I with Apex scheduler "but we don’t want to go with code" other than Apex please suggest any other flow.
​any suggestions are appreciated 
 
SalesFORCE_enFORCErSalesFORCE_enFORCEr
Apex is the only hope.
JaanuJaanu
We do many refresh of sanboxes. But every time we do this, we have to manually update all the settings like custom settings etc ? I want to have apex class which I can run updates everything .. any ideas for this please ? Any sample class will help greatly..