scripting - Alfresco: Run Javascript on Workflow Cancellation -
i have advanced workflow creates , modifies custom data list entries different tasks completed. however, if user cancels workflow, data list entry still persists.
is there execution or task listener event on workflow cancellation can run javascript from?
following webscript called internally "delete/cancel workflow" action.
/alfresco/service/api/workflow-instances/{workflow_instance_id}?forced={forced?}
you can find related files here.
<alf_home>\tomcat\webapps\alfresco\web-inf\classes\alfresco\templates\webscripts\org\alfresco\repository\workflow
Comments
Post a Comment