Harald_Heidinger_152

Bug & Workaround: Schedule Object (JSCH) cancelled using "Cancel Recursive" executes tasks anyway

Discussion created by Harald_Heidinger_152 on Dec 7, 2017
Latest reply on Feb 28, 2018 by Hoai_Truong-Thi-Thu_5649
This occurs in Version 12.0.1 - 12.0.3
It was not reproducible on Version 11 and 12.1

Just to inform you about an issue with Schedule Objects (JSCH) which remain to start tasks even if they are cancelled recursive.

Please follow Known Error Article here to a more detailled description and the workaround (Ending the JSCH Object using "Quit" instead of "Cancel Recursive")

https://automic.force.com/support/apex/CommunityArticleDetail?id=ka30N000000H3iZ

I posted this since this issue can be nasty especially because the issue might not be recognized directly after the scheduler was cancelled, since not always directly after cancellation the next task is supposed to run. 

Outcomes