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
AlecSAlecS 

Move trigger from sandbox to production

I just finished writing and testing few triggers in sandbox. How do I move them to production system?

 

I get an error message:

Entity_Is_Locked

 
imutsavimutsav
How are you trying to migrate the trigger and the test to the production Org.

There are three ways I have used to migrate code from sandbox to Production
1) Ant (which I don't use any more since it doesn't gives me the ability to validate the migration).
2) Eclipse which is really good.
3) SFDC Inbound and Outbound change set. (http://login.salesforce.com/help/doc/en/changesets_about_outbound.htm)

Do make sure that all the dependend code objects and settings are already present in the production Env. Try to set your self in the debug log so that if there is any error then you would be able to get more details about it

Thanks
Utsav