You need to sign in to do that
Don't have an account?
Jesus.Arcas
System.AbortJob Batch Apex Code Injection
Hi,
We have an Apex Job for which we would like to have some control whenever user uses Abort standard link. Does anybody know if it is possible to execute some code as a result of an Apex Job abort?
Thanks in advance.
Regards,
Jesus Arcas.
Based on my experience with Batch Apex, I would say that this simply isn't possible. Even the "finish()" method isn't run, as far as I can tell, so there's no way you could determine a successful run.
All Answers
Based on my experience with Batch Apex, I would say that this simply isn't possible. Even the "finish()" method isn't run, as far as I can tell, so there's no way you could determine a successful run.
Hi, sfdcfox
Thanks for your response. That is what I was expecting, anyway.
Regards,
Jesus Arcas.