cancel
Showing results for 
Search instead for 
Did you mean: 

Execution Listener on Cancelled workflow

mstein
Champ in-the-making
Champ in-the-making
Hey,

I want to run some code only when a workflow is cancelled, not completed.

I saw the JIRA: https://issues.alfresco.com/jira/browse/ALF-6896

However I'm not seeing the described deleteReason variable. I see a cancelled variable which is set to false. I'm guessing this is because alfresco is deleteing the workflow, not canceling it.

Any thoughts?

Thanks
1 REPLY 1

mstein
Champ in-the-making
Champ in-the-making
Arg, I actually see deleteReason on the DelegateExecution's parent when I debug, but I can't find a way to get to it in code.