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.
<namespaces> <namespace uri="http://www.exampleco.com/model/content/1.0" prefix="exc" /> </namespaces>
<types> <type name="exc:estimateTask"> (…) </type> <type name="exc:assignTask"> (…) </type> (…) <type name="exc:executeTask"> (…) </type> <type name="exc:confirmTaskConclusion"> (…) </type> </types>
<import resource="classpath:alfresco/enterprise/webscripts/org/alfresco/enterprise/repository/admin/admin-common.lib.js"> /** * Repository Admin Console * * Process Engines GET method */ Admin.initModel( "Alfresco:Name=WorkflowInformation", ["ActivitiEngineEnabled","NumberOfActivitiWorkflowInstances","NumberOfActivitiWorkflowDefinitionsDeployed", "ActivitiWorkflowDefinitionsVisible","NumberOfActivitiTaskInstances","JBPMEngineEnabled", "NumberOfJBPMWorkflowInstances","NumberOfJBPMWorkflowDefinitionsDeployed", "JBPMWorkflowDefinitionsVisible","NumberOfJBPMTaskInstances"], "admin-processengines" );
<?xml version="1.0" encoding="UTF-8"?> <model name="exc:workModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="exampleco.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"> <property name="models"> <list> <value>alfresco/extension/model/model.xml</value> </list> </property> </bean> </beans>
<?xml version="1.0" encoding="UTF-8"?> <model name="exc:workModel" xmlns="http://www.alfresco.org/model/dictionary/1.0"> <!– Optional meta-data about the model –> <description>Some workflow Model</description> <author>///</author> <imports> <!– Import Alfresco Dictionary Definitions –> <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" /> <!– Import Alfresco System Definitions –> <import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" /> <!– Import Alfresco Content Domain Model Definitions –> <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" /> <!– Import User Model Definitions –> <import uri="http://www.alfresco.org/model/user/1.0" prefix="usr" /> <import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm" /> </imports> <namespaces> <namespace uri="http://www.exampleco.com/model/content/1.0" prefix="exc" /> </namespaces> <types> <type name="exc:estimateTask"> <parent>bpm:startTask</parent> <mandatory-aspects> <aspect>exc:workInfo</aspect> </mandatory-aspects> </type> <type name="exc:assignTask"> <parent>bpm:workflowTask</parent> <overrides> <property name="bpm:packageActionGroup"> <default>add_package_item_actions</default> </property> </overrides> <mandatory-aspects> <aspect>bpm:assignee</aspect> <aspect>exc:workInfo</aspect> </mandatory-aspects> </type> <type name="exc:executeTask"> <parent>bpm:workflowTask</parent> <overrides> <property name="bpm:packageActionGroup"> <default>add_package_item_actions</default> </property> <property name="bpm:packageItemActionGroup"> <default>edit_package_item_actions</default> </property> </overrides> <mandatory-aspects> <aspect>bpm:assignee</aspect> <aspect>exc:workInfo</aspect> </mandatory-aspects> </type> <type name="exc:confirmTaskConclusion"> <parent>bpm:activitiOutcomeTask</parent> <properties> <property name="exc:reviewOutcome"> <type>d:text</type> <default>Reject</default> <constraints> <constraint name="exc:reviewOutcomeOptions" type="LIST"> <parameter name="allowedValues"> <list> <value>Approve</value> <value>Forfeit</value> <value>Reject</value> </list> </parameter> </constraint> </constraints> </property> </properties> <overrides> <property name="bpm:packageItemActionGroup"> <default>add_package_item_actions</default> </property> <property name="bpm:outcomePropertyName"> <default>{http://www.alfresco.org/model/workflow/1.0}reviewOutcome </default> </property> </overrides> <mandatory-aspects> <aspect>bpm:assignee</aspect> <aspect>exc:workInfo</aspect> </mandatory-aspects> </type> <type name="exc:estimateApproved"> <parent>bpm:workflowTask</parent> <mandatory-aspects> <aspect>bpm:assignee</aspect> <aspect>exc:workInfo</aspect> </mandatory-aspects> </type> </types> <aspects> <aspect name="exc:workInfo"> <properties> <property name="exc:workDescription"> <type>d:text</type> <mandatory>true</mandatory> </property> </properties> </aspect> </aspects> </model>
<namespace uri="http://www.exampleco.com/model/content/1.0" prefix="exc" />
<namespace uri="http://www.exampleco.com/model/exc/1.0" prefix="exc" />
I am facing the same issue, the model i am using is working on other environment but when i deployed it with same configurations on another server its giving namespace prefix not mapped error.