08-13-2010 02:04 PM
08-13-2010 11:02 PM
<?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">
…
</property>
<property name="models">
<list>
<!– Task Model associated with above process definition –>
<value>alfresco/extension/workflow/adhocModel.xml</value>
</list>
</property>
</bean>
</beans>
08-17-2010 12:49 PM
<?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.wf_book-review" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">jbpm</prop>
<prop key="location">alfresco/workflow/20100816_vp.book_process_definition.xml</prop>
<prop key="mimetype">text/xml</prop>
<prop key="redeploy">true</prop>
</props>
</list>
</property>
<property name="models">
<list><value>alfresco/workflow/20100816_vp.book_task_model.xml</value></list>
</property>
<property name="labels">
<list><value>alfresco/messages/20100816vpbook</value></list>
</property>
</bean>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<process-definition name="wf:book-review" xmlns="urn:jbpm.org:jpdl-3.1">
<swimlane name="initiator" />
<start-state name="start">
<task name="wf:submit">
<assignment actor-id="victor" />
</task>
<transition to="n0" name="t0" />
</start-state>
<task-node name="n0">
<task name="wf:review">
<assignment actor-id="victor" />
</task>
<transition to="end" name="t1" />
</task-node>
<end-state name="end" />
</process-definition>
<?xml version="1.0" encoding="UTF-8"?>
<model name="wf:bookModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Book Model Descr</description>
<author>ae1</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/bpm/1.0" prefix="bpm" />
<import uri="http://www.alfresco.org/model/workflow/1.0" prefix="wf" />
</imports>
<types>
<type name="wf:submit">
<parent>bpm:startTask</parent>
<!–
<properties>
<property name="wf:notifyMe">
<type>d:boolean</type>
<default>false</default>
</property>
</properties>
–>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
<type name="wf:review">
<parent>bpm:workflowTask</parent>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
</types>
</model>
#
# workflow
#
wf_book-review.workflow.title = 20100816 bookModel
wf_book-review.workflow.description = 20100816 my descr
wf_book-review.node.start.title = start
wf_book-review.node.start.description = start
wf_book-review.node.n0.title = n0
wf_book-review.node.n0.description = n0
wf_book-review.node.end.title = end
wf_book-review.node.end.description = end
wf_book-review.task.wf_submit.title = submit
wf_book-review.task.wf_submit.description = submit
wf_book-review.task.wf_review.title = review
wf_book-review.task.wf_review.description = review
wf_book-review.node.start.transition.t0.title = t0 title
wf_book-review.node.start.transition.t0.description = t0 descr
wf_book-review.node.start.transition.t1.title = t1 title
wf_book-review.node.start.transition.t1.description = t1 descr
#
# model
#
wf_bookModel.title = title
wf_bookModel.description = Book Model Descr
wf_bookModel.type.wf_submit.title = title
wf_bookModel.type.wf_submit.description = descr
wf_bookModel.type.wf_review.title = title
wf_bookModel.type.wf_review.description = descr
08-18-2010 02:04 AM
09-09-2010 03:47 PM
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.