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
iperez_geniusiperez_genius 

activating trigger in production

I know this question has been as millions of times...

but no definitive answer has been given...

how do i activate my trigger in the production interface.

I have the class and trigger in my production interface and i have run the tests and i have 100% coverage...

i can't figure out how to activate the trigger...



can someone advise step please.
micwamicwa
You can't activate the trigger in the production environment itself. You have to set the active flag to true (in the triggers meta xml file) in your sandbox or your developer account. After your trigger is active there you can deploy it to the server (easiest way using eclipse) where it's also active.