You need to sign in to do that
Don't have an account?
CaitlinGM
how to deploy updated version of active trigger
I need to write over an existing, active trigger in production with a new, updated version, and do the same for a test class. What is the best way to do this? If I create a change set with the new version of the trigger and test and deploy them while the first version is still active, will it write over the first version? Or do I need to remove the old versions first?
I'm more comfortable using change sets, but can use Eclipse if needed to do this.
Thanks.
When you try to deploy updated code in production the older code gets overide.
If you want to deploy using eclipse then just select the required trigger with its test class and deploy it to the production.
All Answers
When you try to deploy updated code in production the older code gets overide.
If you want to deploy using eclipse then just select the required trigger with its test class and deploy it to the production.
Make sure you keep the same name for the trigger and test class to overwrite the oldest one's in production.