As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<constraint name="bpm:allowedStatus" type="LIST"> <parameter name="allowedValues"> <!– TODO: Determine if status values can be mapped to human-readable strings –> <list> <value>Not Yet Started</value> <value>In Progress</value> <value>On Hold</value> <value>Cancelled</value> <value>Completed</value> </list> </parameter> </constraint>
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <!– Overwrite the existing models –> <bean id="dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="resourceBundles"> <property name="models"> <list> <!– System models –> <value>alfresco/model/dictionaryModel.xml</value> <value>alfresco/model/systemModel.xml</value> <value>org/alfresco/repo/security/authentication/userModel.xml</value> <!– Content models –> <value>alfresco/model/contentModel.xml</value> <!– <value>alfresco/model/bpmModel.xml</value> –> <value>alfresco/extension/model/bpmModel.xml</value> <value>alfresco/model/wcmModel.xml</value> <value>alfresco/model/forumModel.xml</value> <value>alfresco/model/imapModel.xml</value> <!– Content models –> <value>alfresco/model/applicationModel.xml</value> <value>alfresco/model/wcmAppModel.xml</value> <!– Implementation models –> <value>org/alfresco/repo/action/actionModel.xml</value> <value>org/alfresco/repo/rule/ruleModel.xml</value> <!– Version models –> <value>org/alfresco/repo/version/version_model.xml</value> <!– deprecated –> <value>org/alfresco/repo/version/version2_model.xml</value> <!– Email model –> <value>alfresco/model/emailServerModel.xml</value> <!– Calendar model –> <value>alfresco/model/calendarModel.xml</value> <!– Blog Integration model –> <value>alfresco/model/blogIntegrationModel.xml</value> <!– Links model –> <value>alfresco/model/linksModel.xml</value> <!– Deprecated types –> <value>alfresco/model/deprecated/deprecated_contentModel.xml</value> </list> </property> <property name="labels"> <list> <value>alfresco/model/dataTypeAnalyzers</value> <value>alfresco/messages/system-model</value> <value>alfresco/messages/dictionary-model</value> <value>alfresco/messages/content-model</value> <value>alfresco/messages/bpm-messages</value> <value>alfresco/messages/application-model</value> <value>alfresco/messages/forum-model</value> </list> </property> </bean> </beans>
……. <constraint name="bpm:allowedStatus" type="LIST"> <parameter name="allowedValues"> <!– TODO: Determine if status values can be mapped to human-readable strings –> <list> <!– <value>Not Yet Started</value> <value>In Progress</value> <value>On Hold</value> <value>Cancelled</value> <value>Completed</value> –> <value>localized value 1</value> <value>localized value 2</value> <value>localized value 3</value> <value>localized value 4</value> <value>localized value 5</value> </list> </parameter> </constraint> ……. <type name="bpm:task"> <parent>cm:content</parent> <properties> ……….. <property name="bpm:status"> <type>d:text</type> <mandatory>true</mandatory> <!– <default>Not Yet Started</default> –> <default>localized value 1</default> <constraints> <constraint ref="bpm:allowedStatus" /> </constraints> </property> …… </properties> ……