<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="wf:correggieapprova">
<swimlane name="redattore" />
<swimlane name="verificatore" />
<start-state name="start-state1">
<task name="wf:mySubmitReviewTask" swimlane="redattore" />
<transition to="verifica"></transition>
</start-state>
<task-node name="verifica">
<task name="myReviewTask" swimlane="verificatore"></task>
<transition to="approvato"></transition>
<transition to="respinto" name="to node2"></transition>
</task-node>
<node name="approvato">
<transition to="distribuzione"></transition>
</node>
<node name="respinto">
<transition to="distribuzione"></transition>
</node>
<task-node name="distribuzione">
<task name="wf:myCompleteReviewTask" swimlane="redattore"></task>
<transition to="end-state1"></transition>
</task-node>
<end-state name="end-state1"></end-state>
</process-definition>
<?xml version="1.0" encoding="UTF-8"?>
<model name="wf:workflowmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Esempio di Task Model</description>
<author>Mi</author>
<versione>1.0</versione>
<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" />
</imports>
<namespaces>
<namespace uri="http://www.alfresco.org/model/workflow/1.0" prefix="wf"/>
</namespaces>
<types>
<type name="wf:mySubmitReviewTask">
<parent>bpm:startTask</parent>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
<type name="myReviewTask">
<parent>bpm:workflowTask</parent>
<overrides>
<property name="bpm:packageItemActionGroup">
<default>edit_package_item_actions</default>
</property>
</overrides>
</type>
<type name=wf:myCompleteReviewTask>
<parent>bpm:startTask</parent>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
</types>
</model>
<?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="myworkflows.workflowBootstrap" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">jbpm</prop>
<prop key="location">alfresco/extension/correggieapprova_processdefinition.xml</prop>
<prop key="mimetype">text/xml</prop>
<prop key="redeploy">true</prop>
</props>
</list>
</property>
<property name="models">
<list>
<!– NOTE: The above process definition relies on the default workflowModel.xml –>
<!– which is already registered during Alfresco startup. –>
<!– See bootstrap-context.xml (workflowBootstrap). –>
<value>alfresco/extension/correggieapprovaModel.xml</value>
</list>
</property>
<property name="labels">
<list>
<!– NOTE: The above process definition relies on the default workflow-messages.properties –>
<!– which is already registered during Alfresco startup –>
<!– See bootstrap-context.xml (workflowBootstrap). –>
<!– <value>alfresco/workflow/workflow-messages</value> –>
</list>
</property>
</bean>
</beans>
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
Apache Tomcat/6.0.26
[WARNING] swimlane 'redattore' does not have an assignment
[WARNING] swimlane 'verificatore' does not have an assignment
[WARNING] swimlane 'verificatore' does not have an assignment
deployed definition id: jbpm$18 , name: jbpm$wf:correggieapprova , title: wf:correggieapprova , version: 2
definition: jbpm$18 , name: wf:correggieapprova , version: 2
workflow: None
path: None
org.alfresco.service.cmr.workflow.WorkflowException: 06230001 Failed to deploy workflow definition.
Archive content from product discussions in Italian.
This group is now closed and 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.