08-18-2010 05:06 AM
<?xml version="1.0" encoding="UTF-8"?>
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="my:CDC Absence Request Workflow3">
<swimlane name="initiator"/>
<start-state name="start">
<task name="my:submitHelloworldTask" swimlane="initiator" />
<transition name="Approve by Boss" to="helloTask">
</transition>
</start-state>
<swimlane name="assignee">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{my_t3Assignee}</actor>
</assignment>
</swimlane>
<swimlane name="ericl">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{my_t1Assignee}</actor>
</assignment>
</swimlane>
<task-node name="helloTask">
<task name="my:helloTask" swimlane="assignee" ></task>
<transition name="rejected" to="hello"></transition>
<transition name="approve" to="ltt"></transition>
</task-node>
<swimlane name="getassignee">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{my_t2Assignee}</actor>
</assignment>
</swimlane>
<task-node name="ltt">
<task name="my:helloEvanTask" swimlane="getassignee" ></task>
<transition name="approve" to="evanTask"></transition>
<transition name="rejected" to="hello"></transition>
</task-node>
<task-node name="evanTask">
<task name="my:evanTask" swimlane="ericl"></task>
<transition name="rejected" to="hello"/>
<transition name="approve" to="hello">
</transition>
</task-node>
<task-node name="hello">
<task name="my:completedhelloTask" swimlane="initiator"/>
<transition name="Confirmed" to="end1"/>
</task-node>
<end-state name="end1"/>
</process-definition>
<model name="my:workflowonemodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Workflow One Model</description>
<author></author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
<import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/>
<import uri="http://www.alfresco.org/model/workflow/1.0" prefix="wf"/>
</imports>
<namespaces>
<namespace uri="my.model" prefix="my" />
</namespaces>
<types>
<type name="my:submitHelloworldTask">
<parent>bpm:startTask</parent>
<mandatory-aspects>
<aspect>my:t3Assignee</aspect>
</mandatory-aspects>
</type>
<type name="my:helloTask">
<parent>bpm:workflowTask</parent>
<mandatory-aspects>
<aspect>my:t2Assignee</aspect>
</mandatory-aspects>
</type>
<type name="my:helloEvanTask">
<parent>bpm:workflowTask</parent>
<mandatory-aspects>
<aspect>my:t1Assignee</aspect>
</mandatory-aspects>
</type>
<type name="my:evanTask">
<parent>bpm:workflowTask</parent>
</type>
<type name="my:completedhelloTask">
<parent>bpm:workflowTask</parent>
</type>
</types>
<aspects>
<aspect name="my:t3Assignee">
<associations>
<association name="my:t3Assignee">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</aspect>
<aspect name="my:t1Assignee">
<associations>
<association name="my:t1Assignee">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</aspect>
<aspect name="my:t2Assignee">
<associations>
<association name="my:t2Assignee">
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
</associations>
</aspect>
</aspects>
</model>
<alfresco-config>
<config evaluator="node-type" condition="my:submitHelloworldTask" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
<show-property name="bpm:workflowPriority" display-label-id="wf_review_priority" />
<show-property name="bpm:workflowDueDate" display-label-id="wf_review_due_date" />
<separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
<show-association name="my:t3Assignee" display-label-id="wf_reviewer" />
</property-sheet>
</config>
<config evaluator="node-type" condition="my:helloTask" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
<show-property name="bpm:workflowPriority" display-label-id="wf_review_priority" />
<show-property name="bpm:workflowDueDate" display-label-id="wf_review_due_date" />
<separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
<show-association name="my:t2Assignee" display-label-id="wf_reviewer" />
</property-sheet>
</config>
<config evaluator="node-type" condition="my:helloEvanTask" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
<show-property name="bpm:workflowPriority" display-label-id="wf_review_priority" />
<show-property name="bpm:workflowDueDate" display-label-id="wf_review_due_date" />
<separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
<show-association name="my:t1Assignee" display-label-id="wf_reviewer" />
</property-sheet>
</config>
<config evaluator="node-type" condition="my:evanTask" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
<show-property name="bpm:workflowPriority" display-label-id="wf_review_priority" />
<show-property name="bpm:workflowDueDate" display-label-id="wf_review_due_date" />
</property-sheet>
</config>
<config evaluator="node-type" condition="my:completedhelloTask" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" />
<show-property name="bpm:workflowPriority" display-label-id="wf_review_priority" />
<show-property name="bpm:workflowDueDate" display-label-id="wf_review_due_date" />
</property-sheet>
</config>
</alfresco-config>
08-19-2010 10:17 PM
08-19-2010 11:47 PM
<property name="models">
<list>
<value>alfresco/workflow/workflowModel.xml</value>
<value>alfresco/workflow/my_workflowModel.xml</value> << my new define for workflow model
</list>
</property>
<property name="labels">
<list>
<value>alfresco/workflow/workflow-messages</value>
<value>alfresco/workflow/my-workflow-messages</value> << my new define for workflow messeges
</list>
</property>
build source again.08-22-2010 10:33 PM
08-23-2010 12:07 AM
<property name="models">
<list>
<value>alfresco/workflow/workflowModel.xml</value>
<value>alfresco/workflow/my_workflowModel.xml</value> << define your file model for workflow the same this row
<value>alfresco/workflow/wcmWorkflowModel.xml</value>
</list>
</property>
<property name="labels">
<list>
<value>alfresco/workflow/workflow-messages</value>
<value>alfresco/workflow/my-workflow-messages</value> << define your file message for workflow the same this row
<value>alfresco/workflow/wcm-workflow-messages</value>
</list>
</property>
build again source08-23-2010 03:19 AM
08-23-2010 04:59 AM
16:43:03,748 User:admin WARN [web.app.ResourceBundleWrapper] Failed to find I18
N message key: my_EmployeeName for locale: en_US
16:43:03,748 User:admin WARN [web.app.ResourceBundleWrapper] Failed to find I18
N message key: my_EmployeeOracelID for locale: en_US
16:43:03,748 User:admin WARN [web.app.ResourceBundleWrapper] Failed to find I18
N message key: my_EmployeeDept for locale: en_US
16:43:03,748 User:admin WARN [web.app.ResourceBundleWrapper] Failed to find I18
N message key: my_EmployeeTitle for locale: en_US
16:43:03,748 User:admin WARN [web.app.ResourceBundleWrapper] Failed to find I18
N message key: my_AbsenceTime for locale: en_US
16:43:03,748 User:admin WARN [web.app.ResourceBundleWrapper] Failed to find I18
N message key: my_AbsenceReason for locale: en_US
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.