You need to sign in to do that
Don't have an account?
Jimmy Thakkar
Create an action on Apex Job Abort
Hello Guys,
I want to update my custom object records; whenever the Apex Job is being Aborted forcefully. As we know that Batch class finish method will be called whenever the Job will be completed. But my action should be fired whenever the Apex Job is being Aborted forcefully.
Thanks.
To be precise;
Let's say I'm getting 1000 Records through Apex Class into Batch class in the form of 10 Chunks (100 * 10). 2 Chunks are being executed by Apex Job and while Processing 3rd one; I'm forcefully Acorting the Apex Job. At that my custom object record should get updated.
Thanks.