11-28-2006 09:20 AM
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
xmlns="urn:jbpm.org:jpdl-3.1" name="wf:docFlow">
<swimlane name="initiator"></swimlane>
<swimlane name="assignee"></swimlane>
<swimlane name="assignee2"></swimlane>
<start-state name="start">
<task name="wf:submitDoc" swimlane="initiator"></task>
<transition name="" to="review"></transition>
</start-state>
<task-node name="review">
<task name="wf:reviewDoc" swimlane="assignee"></task>
<transition name="" to="accept">
</transition>
</task-node>
<task-node name="accept">
<task name="wf:confirmDoc" swimlane="assignee2"></task>
<transition name="" to="end1"></transition>
</task-node>
<end-state name="end1"></end-state>
</process-definition>
<?xml version="1.0" encoding="UTF-8"?>
<model name="wf:workflowmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<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:submitDoc">
<parent>bpm:startTask</parent>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
<type name="wf:reviewDock">
<parent>bpm:workflowTask</parent>
</type>
<type name="wf:confirmDoc">
<parent>bpm:workflowTask</parent>
</type>
</types>
</model>
<bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">jbpm</prop>
<prop key="location">alfresco/workflow/docFlow_processdefinition.xml</prop>
<prop key="mimetype">text/xml</prop>
</props>
</list>
</property>
<property name="models">
<list>
<– Task Model associated with above process definition –>
<value>alfresco/model/docFlowModel.xml</value>
</list>
</property>
</bean>
11-29-2006 02:19 AM
<– Task Model associated with above process definition –>
<–! Task Model associated with above process definition –>
11-29-2006 03:27 AM
12-01-2006 10:24 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.