mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-26 17:25:11 +00:00
Archetypes - Fix workflow sample
Fix workflow sample in aio and platform archetypes
This commit is contained in:
parent
50f43f23d3
commit
b4b0be82ae
@ -36,5 +36,10 @@
|
|||||||
</props>
|
</props>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="labels">
|
||||||
|
<list>
|
||||||
|
<value>alfresco/module/${project.artifactId}/messages/workflow-messages</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
</beans>
|
</beans>
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
#
|
||||||
|
# Activiti My Process Workflow
|
||||||
|
#
|
||||||
|
my-process.workflow.title=My Process
|
||||||
|
my-process.workflow.description=This is my custom process
|
@ -1,20 +1,25 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
<definitions
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn"
|
xmlns:activiti="http://activiti.org/bpmn"
|
||||||
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
|
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" typeLanguage="http://www.w3.org/2001/XMLSchema"
|
||||||
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema"
|
expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
|
||||||
expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
|
|
||||||
|
|
||||||
<process id="my-process">
|
<process id="my-process">
|
||||||
|
|
||||||
<startEvent id="start" />
|
<startEvent id="start" activiti:formKey="wf:submitAdhocTask"/>
|
||||||
<sequenceFlow id="flow1" sourceRef="start" targetRef="someTask" />
|
<sequenceFlow id="flow1" sourceRef="start" targetRef="someTask"/>
|
||||||
|
|
||||||
<userTask id="someTask" name="Activiti is awesome!" />
|
|
||||||
<sequenceFlow id="flow2" sourceRef="someTask" targetRef="end" />
|
|
||||||
|
|
||||||
<endEvent id="end" />
|
<userTask id="someTask" name="Activiti is awesome!" activiti:formKey="wf:adhocTask">
|
||||||
|
<humanPerformer>
|
||||||
|
<resourceAssignmentExpression>
|
||||||
|
<formalExpression>${bpm_assignee.properties.userName}</formalExpression>
|
||||||
|
</resourceAssignmentExpression>
|
||||||
|
</humanPerformer>
|
||||||
|
</userTask>
|
||||||
|
<sequenceFlow id="flow2" sourceRef="someTask" targetRef="end"/>
|
||||||
|
|
||||||
|
<endEvent id="end"/>
|
||||||
|
|
||||||
</process>
|
</process>
|
||||||
|
|
||||||
|
@ -36,5 +36,10 @@
|
|||||||
</props>
|
</props>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="labels">
|
||||||
|
<list>
|
||||||
|
<value>alfresco/module/${project.artifactId}/messages/workflow-messages</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
</beans>
|
</beans>
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
#
|
||||||
|
# Activiti My Process Workflow
|
||||||
|
#
|
||||||
|
my-process.workflow.title=My Process
|
||||||
|
my-process.workflow.description=This is my custom process
|
@ -1,20 +1,25 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
<definitions
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn"
|
xmlns:activiti="http://activiti.org/bpmn"
|
||||||
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
|
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" typeLanguage="http://www.w3.org/2001/XMLSchema"
|
||||||
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema"
|
expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
|
||||||
expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
|
|
||||||
|
|
||||||
<process id="my-process">
|
<process id="my-process">
|
||||||
|
|
||||||
<startEvent id="start" />
|
<startEvent id="start" activiti:formKey="wf:submitAdhocTask"/>
|
||||||
<sequenceFlow id="flow1" sourceRef="start" targetRef="someTask" />
|
<sequenceFlow id="flow1" sourceRef="start" targetRef="someTask"/>
|
||||||
|
|
||||||
<userTask id="someTask" name="Activiti is awesome!" />
|
|
||||||
<sequenceFlow id="flow2" sourceRef="someTask" targetRef="end" />
|
|
||||||
|
|
||||||
<endEvent id="end" />
|
<userTask id="someTask" name="Activiti is awesome!" activiti:formKey="wf:adhocTask">
|
||||||
|
<humanPerformer>
|
||||||
|
<resourceAssignmentExpression>
|
||||||
|
<formalExpression>${bpm_assignee.properties.userName}</formalExpression>
|
||||||
|
</resourceAssignmentExpression>
|
||||||
|
</humanPerformer>
|
||||||
|
</userTask>
|
||||||
|
<sequenceFlow id="flow2" sourceRef="someTask" targetRef="end"/>
|
||||||
|
|
||||||
|
<endEvent id="end"/>
|
||||||
|
|
||||||
</process>
|
</process>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user