|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://marklogic.com/workflow"> |
| 2 | +<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:ns1="http://www.example.org/BPMNTestProcessData" id="Definitions_1" targetNamespace="http://marklogic.com/workflow"> |
| 3 | + <bpmn2:import importType="http://www.w3.org/2001/XMLSchema" location="platform:/resource/MarkLogic%20Workflow/data/definitions/BPMNTestProcessData.xsd" namespace="http://www.example.org/BPMNTestProcessData"/> |
| 4 | + <bpmn2:itemDefinition id="ItemDefinition_1" structureRef="ns1__choiceA"/> |
| 5 | + <bpmn2:itemDefinition id="_ItemDefinition_6" structureRef="ns1:choiceA"/> |
| 6 | + <bpmn2:itemDefinition id="_ItemDefinition_7" structureRef="ns1:choiceB"/> |
3 | 7 | <bpmn2:resource id="Resource_1" name="admin"/>
|
4 |
| - <bpmn2:message id="Message_2" name="RejectedEMail"/> |
| 8 | + <bpmn2:message id="Message_2" itemRef="_ItemDefinition_6" name="RejectedEMail"/> |
5 | 9 | <bpmn2:message id="Message_3" name="ApprovedEmail"/>
|
6 | 10 | <bpmn2:message id="Message_4" name="ReviewedDocument"/>
|
7 | 11 | <bpmn2:message id="Message_5" name="ReviewedDocument"/>
|
8 | 12 | <bpmn2:interface id="Interface_1" implementationRef="EmailInterface" name="EmailInterface">
|
9 |
| - <bpmn2:operation id="Operation_1" implementationRef="SendEmail" name="Send Email"/> |
| 13 | + <bpmn2:operation id="Operation_1" implementationRef="SendEmailRejected" name="Send Email Rejected"> |
| 14 | + <bpmn2:outMessageRef>Message_2</bpmn2:outMessageRef> |
| 15 | + </bpmn2:operation> |
| 16 | + <bpmn2:operation id="_Operation_3" implementationRef="SendEmailSucceeded" name="Send Email Succeeded"> |
| 17 | + <bpmn2:outMessageRef>Message_3</bpmn2:outMessageRef> |
| 18 | + </bpmn2:operation> |
10 | 19 | </bpmn2:interface>
|
11 | 20 | <bpmn2:interface id="Interface_2" implementationRef="MarkLogic" name="MarkLogic">
|
12 | 21 | <bpmn2:operation id="_Operation_2" implementationRef="LaunchAlert" name="LaunchAlert"/>
|
13 | 22 | </bpmn2:interface>
|
14 |
| - <bpmn2:process id="021-initiating-attachment" name="Document Approval Example" isExecutable="true" processType="Public"> |
| 23 | + <bpmn2:process id="021-initiating-attachment" name="DocumentApprovalExample" isExecutable="true" processType="Public"> |
15 | 24 | <bpmn2:ioSpecification id="InputOutputSpecification_1"/>
|
16 | 25 | <bpmn2:startEvent id="StartEvent_1">
|
17 | 26 | <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
|
|
59 | 68 | <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
|
60 | 69 | </bpmn2:task>
|
61 | 70 | <bpmn2:sequenceFlow id="SequenceFlow_6" sourceRef="Task_2" targetRef="SendTask_1"/>
|
62 |
| - <bpmn2:sendTask id="SendTask_2" name="Inform of approval" implementation="##unspecified" operationRef="Operation_1"> |
| 71 | + <bpmn2:sendTask id="SendTask_2" name="Inform of approval" implementation="##unspecified" messageRef="Message_3" operationRef="_Operation_3"> |
63 | 72 | <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
|
64 | 73 | <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
|
65 | 74 | <bpmn2:ioSpecification id="InputOutputSpecification_17">
|
66 |
| - <bpmn2:inputSet id="InputSet_2" name="Input Set 2"/> |
| 75 | + <bpmn2:dataInput id="DataInput_3" name="Data Input 3"/> |
| 76 | + <bpmn2:inputSet id="InputSet_2" name="Input Set 2"> |
| 77 | + <bpmn2:dataInputRefs>DataInput_3</bpmn2:dataInputRefs> |
| 78 | + </bpmn2:inputSet> |
67 | 79 | <bpmn2:outputSet id="OutputSet_3" name="Output Set 3"/>
|
68 | 80 | </bpmn2:ioSpecification>
|
69 | 81 | </bpmn2:sendTask>
|
|
102 | 114 | </bpmn2:textAnnotation>
|
103 | 115 | <bpmn2:association id="Association_3" sourceRef="TextAnnotation_3" targetRef="StartEvent_1"/>
|
104 | 116 | </bpmn2:process>
|
105 |
| - <bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Document Approval Example"> |
| 117 | + <bpmndi:BPMNDiagram id="BPMNDiagram_1" name="DocumentApprovalExample"> |
106 | 118 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="021-initiating-attachment">
|
107 | 119 | <bpmndi:BPMNShape id="BPMNShape_2" bpmnElement="EndEvent_1">
|
108 | 120 | <dc:Bounds height="36.0" width="36.0" x="1125.0" y="240.0"/>
|
|
0 commit comments