function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nello_THnello_TH 

System.abortJob() permissions

What specific permissions does the context user need to be able call System.abortJob() in Apex?

 

Currrently a call to this system method is failing with an exception (System.Exception: Insufficient Privileges) for some users and the exception can't be caught. So it's necessary to be able to check for the correct permissions beforehand.

Imran MohammedImran Mohammed

I am not sure if this is of any help to you at this time, but it requires Author Apex permission.