2024-02-21 02:52:41 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2024-02-21 14:21:56 +00:00
|
|
|
<bpmn:definitions xmlns:bpmn="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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
2024-02-21 02:52:41 +00:00
|
|
|
<bpmn:process id="Process_multi_instance_f7w10zo" isExecutable="true">
|
|
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
|
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
|
|
|
</bpmn:startEvent>
|
|
|
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qpzdpu" />
|
|
|
|
<bpmn:endEvent id="EndEvent_1">
|
|
|
|
<bpmn:extensionElements>
|
|
|
|
<spiffworkflow:instructionsForEndUser>The process instance completed successfully.</spiffworkflow:instructionsForEndUser>
|
|
|
|
</bpmn:extensionElements>
|
2024-02-21 03:15:48 +00:00
|
|
|
<bpmn:incoming>Flow_1uwondc</bpmn:incoming>
|
2024-02-21 02:52:41 +00:00
|
|
|
</bpmn:endEvent>
|
2024-02-21 03:00:13 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Activity_0h4w26t" />
|
2024-02-21 03:15:48 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_1y9syi8" sourceRef="Activity_0h4w26t" targetRef="Activity_0y9m172" />
|
2024-02-21 03:00:13 +00:00
|
|
|
<bpmn:scriptTask id="Activity_0qpzdpu" name="Create Dictionary">
|
2024-02-21 02:52:41 +00:00
|
|
|
<bpmn:extensionElements>
|
2024-02-21 03:50:48 +00:00
|
|
|
<spiffworkflow:instructionsForEndUser />
|
2024-02-21 02:52:41 +00:00
|
|
|
</bpmn:extensionElements>
|
|
|
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
2024-02-21 03:00:13 +00:00
|
|
|
<bpmn:script>composers = [
|
|
|
|
{
|
|
|
|
"composer": "Johann Sebastian Bach",
|
2024-02-21 03:50:48 +00:00
|
|
|
"genre": "Baroque"
|
2024-02-21 03:00:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"composer": "Ludwig van Beethoven",
|
2024-02-21 03:50:48 +00:00
|
|
|
"genre": "Classical/Romantic"
|
2024-02-21 03:00:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"composer": "Wolfgang Amadeus Mozart",
|
2024-02-21 03:50:48 +00:00
|
|
|
"genre": "Classical"
|
2024-02-21 03:00:13 +00:00
|
|
|
}
|
2024-02-21 14:21:56 +00:00
|
|
|
]
|
|
|
|
|
2024-02-21 17:48:54 +00:00
|
|
|
</bpmn:script>
|
2024-02-21 03:00:13 +00:00
|
|
|
</bpmn:scriptTask>
|
2024-02-21 03:15:48 +00:00
|
|
|
<bpmn:userTask id="Activity_0h4w26t" name="Edit Composer">
|
2024-02-21 03:00:13 +00:00
|
|
|
<bpmn:extensionElements>
|
2024-02-21 03:16:30 +00:00
|
|
|
<spiffworkflow:instructionsForEndUser />
|
2024-02-21 03:15:48 +00:00
|
|
|
<spiffworkflow:properties>
|
|
|
|
<spiffworkflow:property name="formJsonSchemaFilename" value="composer-schema.json" />
|
|
|
|
<spiffworkflow:property name="formUiSchemaFilename" value="composer-uischema.json" />
|
|
|
|
</spiffworkflow:properties>
|
2024-02-21 03:32:20 +00:00
|
|
|
<spiffworkflow:preScript />
|
2024-02-21 17:49:38 +00:00
|
|
|
<spiffworkflow:postScript />
|
2024-02-21 03:00:13 +00:00
|
|
|
</bpmn:extensionElements>
|
|
|
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_1y9syi8</bpmn:outgoing>
|
2024-02-21 14:21:56 +00:00
|
|
|
<bpmn:multiInstanceLoopCharacteristics isSequential="true" spiffworkflow:scriptsOnInstances="true">
|
2024-02-21 03:00:13 +00:00
|
|
|
<bpmn:loopDataInputRef>composers</bpmn:loopDataInputRef>
|
2024-02-21 03:15:48 +00:00
|
|
|
<bpmn:loopDataOutputRef>composers</bpmn:loopDataOutputRef>
|
2024-02-22 08:51:29 +00:00
|
|
|
<bpmn:inputDataItem id="madhuvar" name="madhuvar" />
|
|
|
|
<bpmn:outputDataItem id="madhuvar" name="madhuvar" />
|
2024-02-21 17:48:54 +00:00
|
|
|
<bpmn:completionCondition xsi:type="bpmn:tFormalExpression" />
|
2024-02-21 03:00:13 +00:00
|
|
|
</bpmn:multiInstanceLoopCharacteristics>
|
2024-02-21 03:15:48 +00:00
|
|
|
</bpmn:userTask>
|
2024-02-21 03:50:48 +00:00
|
|
|
<bpmn:sequenceFlow id="Flow_1uwondc" sourceRef="Activity_0y9m172" targetRef="EndEvent_1" />
|
|
|
|
<bpmn:manualTask id="Activity_0y9m172" name="Display Edited Composers">
|
|
|
|
<bpmn:extensionElements>
|
|
|
|
<spiffworkflow:instructionsForEndUser>{% for c in composers %}
|
2024-02-21 03:55:00 +00:00
|
|
|
* **{{c.composer}}**: {{c.genre }}
|
2024-02-21 03:50:48 +00:00
|
|
|
{% endfor %}</spiffworkflow:instructionsForEndUser>
|
|
|
|
</bpmn:extensionElements>
|
2024-02-21 03:15:48 +00:00
|
|
|
<bpmn:incoming>Flow_1y9syi8</bpmn:incoming>
|
|
|
|
<bpmn:outgoing>Flow_1uwondc</bpmn:outgoing>
|
2024-02-21 03:50:48 +00:00
|
|
|
</bpmn:manualTask>
|
2024-02-21 14:08:04 +00:00
|
|
|
<bpmn:dataObjectReference id="DataObjectReference_0j9m0n3" dataObjectRef="DataObject_19melwa" />
|
|
|
|
<bpmn:dataObject id="DataObject_19melwa" name="Data Object 19 Melwa" />
|
2024-02-21 03:58:08 +00:00
|
|
|
<bpmn:textAnnotation id="TextAnnotation_0jeegiq">
|
2024-02-21 04:01:20 +00:00
|
|
|
<bpmn:text>This sequential multi-instance task will iterate over the array of composers, allowing you to edit each item in the array.</bpmn:text>
|
2024-02-21 03:58:08 +00:00
|
|
|
</bpmn:textAnnotation>
|
|
|
|
<bpmn:association id="Association_0zu0sch" sourceRef="Activity_0h4w26t" targetRef="TextAnnotation_0jeegiq" />
|
2024-02-21 02:52:41 +00:00
|
|
|
</bpmn:process>
|
|
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_multi_instance_f7w10zo">
|
2024-02-21 03:02:15 +00:00
|
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
|
|
<dc:Bounds x="152" y="159" width="36" height="36" />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-21 03:16:30 +00:00
|
|
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
|
|
|
<dc:Bounds x="722" y="159" width="36" height="36" />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-21 03:00:13 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_0mx090y_di" bpmnElement="Activity_0qpzdpu">
|
|
|
|
<dc:Bounds x="250" y="137" width="100" height="80" />
|
2024-02-21 02:52:41 +00:00
|
|
|
</bpmndi:BPMNShape>
|
2024-02-21 04:00:24 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_0j8tciw_di" bpmnElement="Activity_0h4w26t">
|
|
|
|
<dc:Bounds x="400" y="137" width="100" height="80" />
|
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-21 03:50:48 +00:00
|
|
|
<bpmndi:BPMNShape id="Activity_0dklx73_di" bpmnElement="Activity_0y9m172">
|
2024-02-21 03:15:48 +00:00
|
|
|
<dc:Bounds x="560" y="137" width="100" height="80" />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-21 04:00:24 +00:00
|
|
|
<bpmndi:BPMNShape id="TextAnnotation_0jeegiq_di" bpmnElement="TextAnnotation_0jeegiq">
|
2024-02-21 04:01:20 +00:00
|
|
|
<dc:Bounds x="440" y="10" width="228" height="70" />
|
2024-02-21 03:58:08 +00:00
|
|
|
<bpmndi:BPMNLabel />
|
|
|
|
</bpmndi:BPMNShape>
|
2024-02-21 02:52:41 +00:00
|
|
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
2024-02-21 03:00:13 +00:00
|
|
|
<di:waypoint x="188" y="177" />
|
|
|
|
<di:waypoint x="250" y="177" />
|
2024-02-21 02:52:41 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
2024-02-21 03:00:13 +00:00
|
|
|
<di:waypoint x="350" y="177" />
|
2024-02-21 03:58:08 +00:00
|
|
|
<di:waypoint x="400" y="177" />
|
2024-02-21 03:00:13 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_1y9syi8_di" bpmnElement="Flow_1y9syi8">
|
2024-02-21 03:58:08 +00:00
|
|
|
<di:waypoint x="500" y="177" />
|
2024-02-21 03:15:48 +00:00
|
|
|
<di:waypoint x="560" y="177" />
|
|
|
|
</bpmndi:BPMNEdge>
|
|
|
|
<bpmndi:BPMNEdge id="Flow_1uwondc_di" bpmnElement="Flow_1uwondc">
|
|
|
|
<di:waypoint x="660" y="177" />
|
|
|
|
<di:waypoint x="722" y="177" />
|
2024-02-21 02:52:41 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
2024-02-21 04:00:24 +00:00
|
|
|
<bpmndi:BPMNEdge id="Association_0zu0sch_di" bpmnElement="Association_0zu0sch">
|
|
|
|
<di:waypoint x="461" y="137" />
|
2024-02-21 04:01:20 +00:00
|
|
|
<di:waypoint x="475" y="80" />
|
2024-02-21 04:00:24 +00:00
|
|
|
</bpmndi:BPMNEdge>
|
2024-02-21 02:52:41 +00:00
|
|
|
</bpmndi:BPMNPlane>
|
|
|
|
</bpmndi:BPMNDiagram>
|
|
|
|
</bpmn:definitions>
|