Pages
Home
About Me
For Contact
February 9, 2021
How to abort Apex Jobs using Apex in Salesforce?
Use System.abortJob( '<JobID>' ) to abort the job.
To get the JobId, use the "AsyncApexJob" object. Add proper WHERE condition to the SOQL to find the Job Ids.
Help Article -
https://help.salesforce.com/articleView?id=000324656&type=1&mode=1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment