Customize Cancel workflow.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2013 02:49 PM
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
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
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2013 06:53 AM
What you want to do after cancel what is your requirement?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2013 09:54 AM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2013 04:48 PM
Any suggestion on above post? Anyone
