?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="scwf:publishWhitepaper">
<swimlane name="initiator" />
<swimlane name="marketing">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>#{people.getGroup('GROUP_marketing')}</pooledactors>
</assignment>
</swimlane>
<swimlane name="operations">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>#{people.getGroup('GROUP_operations')}</pooledactors>
</assignment>
</swimlane>
<start-state name="start">
<task name="scwf:submitReviewTask" swimlane="initiator" />
<transition name="" to="Submit"></transition>
</start-state>
<node name="Submit">
<event type="node-enter">
<script>
<variable name="approveCount" access="read,write"/>
<expression>
approveCount = 0;
</expression>
</script>
</event>
<transition name="" to="fork1"></transition>
</node>
<fork name="fork1">
<transition name="" to="Marketing Review"></transition>
<transition name="tr2" to="Operations Review"></transition>
</fork>
<task-node name="Marketing Review">
<task name="scwf:marketingReview" swimlane="marketing" />
<transition name="approve" to="join1">
<script>
<variable name="approveCount" access="read,write"/>
<expression>
approveCount = approveCount + 1;
</expression>
</script>
</transition>
<transition name="reject" to="join1"></transition>
</task-node>
org.alfresco.service.namespace.NamespaceException: Namespace prefix scwf is not mapped to a namespace URI
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registration of new models –>
<bean id="someco.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/model/scModel.xml</value>
</list>
</property>
</bean>
<bean id="someco.workflowBootstrap" parent="workflowBootstrap">
<property name="models">
<list>
<value>alfresco/extension/model/scWorkflowModel.xml</value>
</list>
</property>
</bean>
<!– Registration of resource bundles –>
<bean id="parallel.workflowBootstrap" parent="workflowDeployer">
<property name="labels">
<list>
<value>alfresco.extension.scWorkflow</value>
</list>
</property>
</bean>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="scwf:workflowmodel"
xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>GRH demande de conge Workflow Model</description>
<author>Hamza Atig</author>
<version>1.0</version>
<!– Imports are required to allow references to definitions in other models –>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm" />
<import uri="http://www.alfresco.org/model/wcmmodel/1.0" prefix="wcm" />
<import uri="http://www.alfresco.org/model/wcmworkflow/1.0" prefix="wcmwf" />
<import uri="http://www.alfresco.org/model/wcmappmodel/1.0" prefix="wca"/>
</imports>
<!– Introduction of new namespaces defined by this model –>
<namespaces>
<namespace uri="http://www.owliancetunis.com/model/workflow/1.0" prefix="grhwf" />
</namespaces>
<types>
<type name="grhwf:ChefReview">
<parent>bpm:workflowTask</parent>
<overrides>
<property name="bpm:packageItemActionGroup">
<default>read_package_item_actions</default>
</property>
</overrides>
</type>
<type name="grhwf:RespReview">
<parent>bpm:workflowTask</parent>
<overrides>
<property name="bpm:packageItemActionGroup">
<default>read_package_item_actions</default>
</property>
</overrides>
</type>
<type name="grhwf:submitNoApprovalTask">
<parent>wcmwf:startTask</parent>
<associations>
<association name="wcmwf:webproject">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>wca:webfolder</class>
<mandatory>true</mandatory>
<many>false</many>
</target>
</association>
</associations>
<mandatory-aspects>
<aspect>wcmwf:submission</aspect>
</mandatory-aspects>
</type>
<type name="grhwf:submitCancelledNoApprovalTask">
<parent>wcmwf:workflowTask</parent>
<mandatory-aspects>
<aspect>wcmwf:submission</aspect>
</mandatory-aspects>
</type>
<type name="grhwf:submittedNoApprovalTask">
<parent>wcmwf:workflowTask</parent>
<mandatory-aspects>
<aspect>wcmwf:submission</aspect>
</mandatory-aspects>
</type>
</types>
<aspects>
</aspects>
</model>
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="grhwf:GestionDeConge">
<swimlane name="initiator" />
<swimlane name="Chef">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>#{people.getGroup('GROUP_Chef')}</pooledactors>
</assignment>
</swimlane>
<swimlane name="Resp">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>#{people.getGroup('GROUP_Resp')}</pooledactors>
</assignment>
</swimlane>
<start-state name="start">
<task name="grhwf:submitReviewTask" swimlane="initiator" />
<transition name="" to="chef Review"></transition>
</start-state>
<task-node name="Resp Review">
<task name="grhwf:RespReview" swimlane="Resp" />
<transition to="Approved" name="approve"></transition>
<transition to="end1" name="rejet Resp"></transition>
</task-node>
<task-node name="chef Review">
<task name="grhwf:ChefReview" swimlane="Chef" />
<transition to="Resp Review" name="approve"></transition>
<transition to="end1" name="rejet Chef"></transition>
</task-node>
<node name="Approved">
<transition to="end1" name="">
<action></action>
</transition>
</node>
<end-state name="end1"></end-state>
</process-definition>
Last command: help
Duration: 32ms
—–
org.alfresco.service.namespace.NamespaceException: Namespace prefix grhwf is not mapped to a namespace URI
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="scwf:workflowmodel"
xmlns="http://www.alfresco.org/model/dictionary/1.0">
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.