Once a scheduled workflow has been set, it can't be cancelled.
Even if you cancel it and it is reported as cancelled, it will be executed but the status won't be changed and it won't be listed as started.
Environment:
OS (CLI), HA cluster, cloud provider
------------------------------------
Steps to reproduce:
------------------
1.
2.
3.
Expected result:
---------------
Actual result:
-------------
we will keep the “dead letter”, but before executing the workflow, check if it was canceled and avoid the error of trying to start a canceled workflow
When a scheduled execution 'wakes up' we also check if it status changed to `Cancelled`, if so - don't continue.