mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 13:48:10 +00:00
User: admin@spiffworkflow.org clicked save for misc/jonjon/enum_single_entry/date.bpmn
This commit is contained in:
parent
7a2d88131d
commit
b95d30b234
@ -4,7 +4,7 @@
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1vrslsg</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1vrslsg" sourceRef="StartEvent_1" targetRef="Activity_1arkx6q" />
|
||||
<bpmn:sequenceFlow id="Flow_1vrslsg" sourceRef="StartEvent_1" targetRef="date_stuff" />
|
||||
<bpmn:endEvent id="Event_1vcg2yg">
|
||||
<bpmn:incoming>Flow_1bzzdy2</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
@ -22,60 +22,29 @@
|
||||
}
|
||||
]</spiffworkflow:preScript>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0u1z8ke</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1vrslsg</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1bzzdy2</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:sequenceFlow id="Flow_0u1z8ke" sourceRef="Activity_1arkx6q" targetRef="date_stuff" />
|
||||
<bpmn:callActivity id="Activity_1arkx6q" name="Get Sub-Category Enum" calledElement="Testing_Build_Enum_List">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:preScript># Set Enum List Parameters
|
||||
whichSubject = "Sub-Category"
|
||||
whichGrouping = "travel"
|
||||
addNew = False
|
||||
addBlank = False</spiffworkflow:preScript>
|
||||
<spiffworkflow:postScript># Copy to Category Enum List
|
||||
travel_sub_category_enum_list = enumerations_list
|
||||
|
||||
# Remove Meals Sub-category
|
||||
travel_sub_category_enum_list = [x for x in travel_sub_category_enum_list if x["value"] != "meals"]
|
||||
|
||||
# Delete generic list
|
||||
del(enumerations_list)
|
||||
del(whichSubject)
|
||||
del(whichGrouping)
|
||||
del(addNew)
|
||||
del(addBlank)</spiffworkflow:postScript>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1vrslsg</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0u1z8ke</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="EnumTest">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="-38" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1vcg2yg_di" bpmnElement="Event_1vcg2yg">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_04leh8x_di" bpmnElement="date_stuff">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_01dlrr8_di" bpmnElement="Activity_1arkx6q">
|
||||
<dc:Bounds x="70" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="152" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1vrslsg_di" bpmnElement="Flow_1vrslsg">
|
||||
<di:waypoint x="-2" y="177" />
|
||||
<di:waypoint x="70" y="177" />
|
||||
<di:waypoint x="188" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1bzzdy2_di" bpmnElement="Flow_1bzzdy2">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0u1z8ke_di" bpmnElement="Flow_0u1z8ke">
|
||||
<di:waypoint x="170" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
||||
|
Loading…
x
Reference in New Issue
Block a user