mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
* RM-630 (Definition for 'request for info' workflow)
* RM-631 (The records management team can create a rule to request information about an undeclared record) * RM-632 (The records management team can use an UI action and custom UI to start a "request for information" workflow about an undeclared record) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
102
rm-server/config/alfresco/workflow/requestInfo.bpmn20.xml
Normal file
102
rm-server/config/alfresco/workflow/requestInfo.bpmn20.xml
Normal file
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions
|
||||
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
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: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://alfresco.org">
|
||||
|
||||
<process
|
||||
id="activitiRequestForInformation"
|
||||
name="Request For Information Activiti Workflow"
|
||||
isExecutable="true">
|
||||
|
||||
<startEvent
|
||||
id="start"
|
||||
activiti:formKey="rmwf:submitRequestInfoTask">
|
||||
</startEvent>
|
||||
|
||||
<sequenceFlow
|
||||
id="flow1"
|
||||
sourceRef="start"
|
||||
targetRef="requestInfoTask">
|
||||
</sequenceFlow>
|
||||
|
||||
<userTask
|
||||
id="requestInfoTask"
|
||||
name="Request Info Task"
|
||||
activiti:formKey="rmwf:requestInfoTask">
|
||||
<extensionElements>
|
||||
<activiti:taskListener
|
||||
event="create"
|
||||
class="org.alfresco.workflow.requestInfo.RequestInfoAssignmentHandler">
|
||||
</activiti:taskListener>
|
||||
<activiti:taskListener
|
||||
event="complete"
|
||||
class="org.alfresco.workflow.requestInfo.RequestInfoVariableHandler">
|
||||
</activiti:taskListener>
|
||||
</extensionElements>
|
||||
</userTask>
|
||||
|
||||
<sequenceFlow
|
||||
id="flow2"
|
||||
sourceRef="requestInfoTask"
|
||||
targetRef="reviewRequestInfoTask">
|
||||
</sequenceFlow>
|
||||
|
||||
<userTask
|
||||
id="reviewRequestInfoTask"
|
||||
name="Review Request Info Task"
|
||||
activiti:formKey="rmwf:reviewRequestInfoTask">
|
||||
<extensionElements>
|
||||
<activiti:taskListener
|
||||
event="create"
|
||||
class="org.alfresco.workflow.requestInfo.RequestInfoNotifier">
|
||||
</activiti:taskListener>
|
||||
</extensionElements>
|
||||
</userTask>
|
||||
|
||||
<sequenceFlow
|
||||
id="flow3"
|
||||
sourceRef="reviewRequestInfoTask"
|
||||
targetRef="theEnd">
|
||||
</sequenceFlow>
|
||||
|
||||
<endEvent
|
||||
id="theEnd">
|
||||
</endEvent>
|
||||
</process>
|
||||
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_activitiRequestForInformation">
|
||||
<bpmndi:BPMNPlane bpmnElement="activitiRequestForInformation" id="BPMNPlane_activitiRequestForInformation">
|
||||
<bpmndi:BPMNShape bpmnElement="start" id="BPMNShape_start">
|
||||
<omgdc:Bounds height="35.0" width="35.0" x="30.0" y="200.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="reviewRequestInfoTask" id="BPMNShape_reviewRequestInfoTask">
|
||||
<omgdc:Bounds height="55.0" width="105.0" x="290.0" y="190.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="theEnd" id="BPMNShape_theEnd">
|
||||
<omgdc:Bounds height="35.0" width="35.0" x="455.0" y="200.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="requestInfoTask" id="BPMNShape_requestInfoTask">
|
||||
<omgdc:Bounds height="55.0" width="105.0" x="130.0" y="190.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
|
||||
<omgdi:waypoint x="65.0" y="217.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="130.0" y="217.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
|
||||
<omgdi:waypoint x="235.0" y="217.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="290.0" y="217.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
|
||||
<omgdi:waypoint x="395.0" y="217.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="455.0" y="217.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</definitions>
|
62
rm-server/config/alfresco/workflow/rmWorkflowModel.xml
Normal file
62
rm-server/config/alfresco/workflow/rmWorkflowModel.xml
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<model name="rmwf: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/content/1.0" prefix="cm" />
|
||||
<import uri="http://www.alfresco.org/model/bpm/1.0" prefix="bpm"/>
|
||||
</imports>
|
||||
|
||||
<namespaces>
|
||||
<namespace uri="http://www.alfresco.org/model/rmworkflow/1.0" prefix="rmwf"/>
|
||||
</namespaces>
|
||||
|
||||
<types>
|
||||
|
||||
<type name="rmwf:workflowTask">
|
||||
<parent>bpm:workflowTask</parent>
|
||||
<properties>
|
||||
<property name="rmwf:requestedInformation">
|
||||
<type>d:text</type>
|
||||
<mandatory>true</mandatory>
|
||||
</property>
|
||||
<property name="rmwf:message">
|
||||
<type>d:text</type>
|
||||
<mandatory>true</mandatory>
|
||||
</property>
|
||||
</properties>
|
||||
</type>
|
||||
|
||||
<type name="rmwf:submitRequestInfoTask">
|
||||
<parent>rmwf:workflowTask</parent>
|
||||
<associations>
|
||||
<association name="rmwf:mixedAssignees">
|
||||
<source>
|
||||
<mandatory>false</mandatory>
|
||||
<many>false</many>
|
||||
</source>
|
||||
<target>
|
||||
<class>cm:authority</class>
|
||||
<mandatory>true</mandatory>
|
||||
<many>true</many>
|
||||
</target>
|
||||
</association>
|
||||
</associations>
|
||||
</type>
|
||||
|
||||
<type name="rmwf:requestInfoTask">
|
||||
<parent>rmwf:workflowTask</parent>
|
||||
</type>
|
||||
|
||||
<type name="rmwf:reviewRequestInfoTask">
|
||||
<parent>rmwf:workflowTask</parent>
|
||||
<overrides>
|
||||
<property name="bpm:reassignable">
|
||||
<default>false</default>
|
||||
</property>
|
||||
</overrides>
|
||||
</type>
|
||||
</types>
|
||||
|
||||
</model>
|
Reference in New Issue
Block a user