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.