When submitting a deployment from the Deploy or the Sandbox Seeding page within the Release tab, you may notice the toggle to Temporarily Deactivate Events. When toggled on, Release will deactivate Flows, WorkflowRules, Apex Triggers, Validation Rules and Duplication Rules related to the deployed objects in the destination for the duration of the deployment. Once completed, Release will reactivate these events.
To use the Temporarily Deactivate Events toggle:
- Visit the Release tab
- Visit Deploy / Sandbox Seeding
- Enter relevant deployment criteria
- At the bottom of the page see the Temporarily Deactivate Events toggle
- Toggle on to deactivate events
- Select ‘Deploy‘
This feature is not available for Validations/ Simulations.
Prodly cannot turn off events that are part of managed packages.
Prodly does not recommend disabling events in Production. By default, the toggle is not selectable when deploying to Production.
To deploy to Production with Temporarily Deactivate Events feature enabled (Not Recommended):
- Visit the Release tab
- Visit Settings
- Scroll down to find the toggle ‘Event Deactivating for Production‘
- Toggle on
- Visit Deploy / Sandbox Seeding
- Enter relevant deployment criteria with Production org as the Destination
- At the bottom of the page see the Temporarily Deactivate Events toggle
- Toggle on to deactivate events
- Select ‘Deploy‘