* 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:
Tuna Aksoy
2013-04-04 21:26:12 +00:00
parent 05a40e014d
commit 942b0c5110
8 changed files with 490 additions and 2 deletions

View 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>

View 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>