I have a custom workflow that is deployed in Alfresco Community Edition 5.0.c as part of a larger package of mods. The workflow is deployed in a repository AMP and a Share AMP. In addition to the AMPs there are three email templates that are placed in a folder under /Data Dictionary/Email Templates.
Our tester discovered a minor bug in the workflow. I made the requested change, recompiled the AMPs, applied the AMPs and restarted the Alfresco instance, but the changes to the workflow did not take. Even though the code has been updated and applied, the workflow is still using the old (pre-bugfix) code. I even deleted all existing workflow instances but to no avail – somehow Alfresco remembered the old code and refused to acknowledge the existence of the newer code. The only way I was able to make the workflow code changes apply was to destroy and re-install the Alfresco instance.
This behavior is most disturbing. Is there something that needs to be done to tell Alfresco that a custom workflow definition has changed?
Thanks in advance for the help.