Deployment Step: Apex
The Apex deployment step lets you execute an Apex Anonymous script in the destination org.
Common use cases:
- Unscheduling of scheduled apex jobs prior to deploying an apex class.
- A second apex step can then be used to reschedule the newly modified apex class.
- After refreshing a sandbox, create/modify data.