cancel
Showing results for 
Search instead for 
Did you mean: 

200 Character limitation

fgjohnson
Champ in-the-making
Champ in-the-making
Hi,
Where and How can I increase the 200 character limitation on a Workflow description?
Thanks
3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
Open file
 {TOMCAT_ROOT}/webapps/alfresco/WEB-INF/classes/alfresco/model/bpmModel.xml
and search with keyword "bpm:allowedDescriptionLength" ,you will find something like following

        <constraint name="bpm:allowedDescriptionLength" type="LENGTH">
             <parameter name="minLength">
                 <value>0</value>
             </parameter>
             <parameter name="maxLength">
                 <value>250</value>
             </parameter>
        </constraint>

Change maxLength value and restart your server.

douglascrp
World-Class Innovator
World-Class Innovator
I changed that by registering a new content model, which in fact, is a copy of the ootb file.

<bean depends-on="dictionaryBootstrap" id="${project.artifactId}.bpm.dictionaryBootstrap" parent="dictionaryModelBootstrap">
        <property name="models">
            <list>
                <value>alfresco/extension/model/customBpmModel.xml</value>
            </list>
        </property>
    </bean>


Then I copied the bpmModel.xml file to customBpmModel.xml, changing the constraint:

<constraint name="bpm:allowedDescriptionLength" type="LENGTH">
             <parameter name="minLength">
                 <value>0</value>
             </parameter>
             <parameter name="maxLength">
                 <value>4096</value>
             </parameter>
        </constraint>



I don't like to change files inside the application.

robert
Champ on-the-rise
Champ on-the-rise
Hola. Como lo ubico en:

Alfresco Community 5.0.c, solo llego hasta esta ruta:

Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco

Luego no aparece lo que sigue