AnsweredAssumed Answered

How to automatically remove workflows from alfresco when uninstalling an AMP?

Question asked by marcollirite on Mar 8, 2017
Latest reply on Mar 9, 2017 by marcollirite

I'm creating my alfresco workflows through the Alfresco Maven SDK and AMP files, as described in the Jeff Potts tutorial. I'm then using the apply_amps.bat script to deploy the AMP to my webapps, which generally works fine.


Having completed the Jeff Potts tutorial, I want to remove the content from that tutorial from my Alfresco installation, which I have tried to do by uninstalling the relevant amp files as described in the Alfresco documentation. Using the MMT I've double checked to make sure the AMPs have been uninstalled, and they are no longer listed. However, the workflows from these AMPs are still listed when starting a workflow.


Of course, I can manually undeploy these workflows from the admin workflowconsole, but it would be helpful if I didn't need to do this every time I want to uninstall an AMP.


Are there any workaround for this?