cancel
Showing results for 
Search instead for 
Did you mean: 

Customize Cancel workflow.

pradnya
Champ in-the-making
Champ in-the-making
Hello All,

I am trying to add some functionality after a workflow is cancelled. Can someone give me some pointers regarding the same. I am relatively new to alfresco hence not sure where all I need to make change to achieve this.

Thanks,
Pradnya
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
What you want to do after cancel what is your requirement?

pradnya
Champ in-the-making
Champ in-the-making
Hi,

I have added couple of custom properties on document and once the workflow is cancelled, then i have to update these properties for the document on which the workflow is started on. So for, I have extended CancelWorkflowActionExecuter and overridden executeImpl method and added my code after existing one. Also i have made change on workflow-context.xml file to point to my custom class in id=cancel-workflow bean.

After deploying the custom jar and restarting alfresco and running test, i dont see any change in document properties. I added some logs in custom code but it does not show those either in log file.

So i am not sure if the way i have coded, is an issue or in deploying it.

pradnya
Champ in-the-making
Champ in-the-making
Any suggestion on above post? Anyone