User: dan@sartography.com clicked save for examples/2-in-depth/2-5-loops/multi-instance/multi-instance.bpmn

This commit is contained in:
sartography-automated-committer 2024-02-21 03:00:13 +00:00
parent 0a0c64fc71
commit 00b863b265

View File

@ -9,10 +9,11 @@
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
<bpmn:incoming>Flow_1y9syi8</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="EndEvent_1" />
<bpmn:manualTask id="Activity_0qpzdpu" name="Example manual task">
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Activity_0h4w26t" />
<bpmn:sequenceFlow id="Flow_1y9syi8" sourceRef="Activity_0h4w26t" targetRef="EndEvent_1" />
<bpmn:scriptTask id="Activity_0qpzdpu" name="Create Dictionary">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
@ -24,27 +25,82 @@ You can also change the text you are reading here by updating the *Instructions*
</bpmn:extensionElements>
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
<bpmn:script>composers = [
{
"composer": "Johann Sebastian Bach",
"genre": "Baroque",
"famous_works": [
"Brandenburg Concertos",
"Goldberg Variations",
"St. Matthew Passion",
"Mass in B minor"
]
},
{
"composer": "Ludwig van Beethoven",
"genre": "Classical/Romantic",
"famous_works": [
"9 symphonies",
"5 piano concertos",
"Fidelio",
"Moonlight Sonata"
]
},
{
"composer": "Wolfgang Amadeus Mozart",
"genre": "Classical",
"famous_works": [
"The Magic Flute",
"Don Giovanni",
"Requiem",
"Piano Concerto No. 21"
]
}
]</bpmn:script>
</bpmn:scriptTask>
<bpmn:manualTask id="Activity_0h4w26t" name="Show Composer">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser># {{composer.composer}}
## Genre: {{composer.genre}}
## Famous Works:
{% for work in composer.famous_works %}
* {{work}}
{% endfor %}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
<bpmn:outgoing>Flow_1y9syi8</bpmn:outgoing>
<bpmn:multiInstanceLoopCharacteristics isSequential="true">
<bpmn:loopDataInputRef>composers</bpmn:loopDataInputRef>
<bpmn:inputDataItem id="composer" name="composer" />
</bpmn:multiInstanceLoopCharacteristics>
</bpmn:manualTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_multi_instance_f7w10zo">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
<dc:Bounds x="432" y="159" width="36" height="36" />
<dc:Bounds x="572" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
<dc:Bounds x="270" y="137" width="100" height="80" />
<bpmndi:BPMNShape id="Activity_0mx090y_di" bpmnElement="Activity_0qpzdpu">
<dc:Bounds x="250" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="152" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_016wj9v_di" bpmnElement="Activity_0h4w26t">
<dc:Bounds x="410" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
<di:waypoint x="188" y="177" />
<di:waypoint x="250" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
<di:waypoint x="350" y="177" />
<di:waypoint x="410" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1y9syi8_di" bpmnElement="Flow_1y9syi8">
<di:waypoint x="510" y="177" />
<di:waypoint x="572" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>