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
Jess RobinsonJess Robinson 

Chained Queueable jobs continuing after abort

I have some code that starts a Queueable job, which then chains to create the next Queueable job and so on. 

When I abort one of the Queueable jobs manually in the Apex Jobs list, it shows as having aborted successfully but then a couple of minutes later, it starts another Queueable job and the aborted job changes to 'Completed'. Has anyone else noticed this? 
Andy BoettcherAndy Boettcher
Aborting the job doesn't always roll the job all the way back - if you have any callouts or things that spawn up additional jobs, sometimes those can still fire even though you've officially aborted the job.