Don't have Telegram yet? Try it now!
https://mohsinkhalid.com/2016/03/31/how-to-recallcancel-a-workflow-through-code-in-ax-2012/
How to Recall/Cancel a workflow through code in AX 2012