+ Start a Discussion
sf11sf11 

Can Apex code delete time based workflow actions (e.g future email alerts in the queue) ?

I was wondering if anyone has tried deleting the time based workflow actions in the workflow queue through Apex trigger or Apex methods (e.g. delete the outgoing email alerts scheduled for a future date) ?

 

I know we can accomplish this through App setup menu (Setup-->Admin Setup--> Monitoring--> Time based workflows--> select records and click delete) but can we do this using Apex code ?

o2bo2b
I don't think, it's possible.