cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying workflowModel.xml

hammerguy
Champ in-the-making
Champ in-the-making
Hi all,

I want to change some data in workflowModel.xml (set the default value of requiredApprovePercent to 100).
Of course I'm not supposed to change the file in tomcat, I need to override it in my eclipse project.

Do I need to register the model in a context file, and in which directory am I supposed to put the file in my eclipse project?

I would appreciate any help
2 REPLIES 2

parzgnat
Star Contributor
Star Contributor
Do you actually need to make changes to the existing Workflow Model, or are you just trying to extend it?  It's generally bad practice to modify any of the out-of-the-box content models.  That being said, if you do need to do so, the correct way to do it is to package your Alfresco customizations into an Alfresco Module Package (AMP) and install them with the Module Management Tool (MMT).  It's not advisable to manually modify the model files in ALFRESCO_HOME/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model.  I believe that you could also place your modified workflowModel.xml file in the ALFRESCO_HOME/tomcat/shared/classes/alfresco/model directory and that should override what's in the Alfresco war file.

Additional information on AMPs can be found here
https://wiki.alfresco.com/wiki/AMP_Files


hammerguy
Champ in-the-making
Champ in-the-making
Hi Parzgnat

Thx for your reply