Is there any way to undo the changes of code in salesforce org?

214 views Asked by At

I accidentally deployed the code to my sandbox. My changes override other people's changes. So is there any way to undo this? Please help

1

There are 1 answers

0
David Reed On

No, there is no way to undo this.

In order to avoid this problem, it is critical to use source control, and for developers to execute work in isolated environments. That can be a scratch org (best), or a developer sandbox. Doing development in shared environments is a very bad practice and with the tools available in 2022 there's just no excuse for doing so.