This commit is contained in:
sartography-automated-committer 2023-01-20 20:14:40 +00:00
commit a9928661cf
4 changed files with 100 additions and 72 deletions

View File

@ -5,38 +5,28 @@
<bpmn:outgoing>Flow_0m4suiu</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0m4suiu" sourceRef="StartEvent_1" targetRef="call_one" />
<bpmn:sequenceFlow id="Flow_1huxd2x" sourceRef="call_one" targetRef="call_two" />
<bpmn:sequenceFlow id="Flow_0eifcik" sourceRef="call_two" targetRef="call_three" />
<bpmn:endEvent id="Event_0pq4nje">
<bpmn:incoming>Flow_04ndl5v</bpmn:incoming>
<bpmn:incoming>Flow_0negut5</bpmn:incoming>
</bpmn:endEvent>
<bpmn:callActivity id="call_one" name="Call One" calledElement="process_to_call">
<bpmn:extensionElements>
<spiffworkflow:preScript>a = 1</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0m4suiu</bpmn:incoming>
<bpmn:outgoing>Flow_1huxd2x</bpmn:outgoing>
<bpmn:outgoing>Flow_0negut5</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:callActivity id="call_two" name="Call Two" calledElement="process_to_call">
<bpmn:extensionElements>
<spiffworkflow:preScript>a = 2
b = 1</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1huxd2x</bpmn:incoming>
<bpmn:outgoing>Flow_0eifcik</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:callActivity id="call_three" name="Call Three" calledElement="process_to_call">
<bpmn:extensionElements>
<spiffworkflow:preScript>a = 3</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0eifcik</bpmn:incoming>
<bpmn:outgoing>Flow_1y1ybqm</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_1y1ybqm" sourceRef="call_three" targetRef="sub_process_call_acitivty_multiple" />
<bpmn:sequenceFlow id="Flow_04ndl5v" sourceRef="sub_process_call_acitivty_multiple" targetRef="Event_0pq4nje" />
<bpmn:subProcess id="sub_process_call_acitivty_multiple" name="SubProcess Call Activity Multiple">
<bpmn:incoming>Flow_1y1ybqm</bpmn:incoming>
<bpmn:outgoing>Flow_04ndl5v</bpmn:outgoing>
<bpmn:startEvent id="Event_0vhoie3">
<bpmn:outgoing>Flow_16fkfvy</bpmn:outgoing>
</bpmn:startEvent>
@ -50,6 +40,7 @@ b = 1</spiffworkflow:preScript>
<bpmn:outgoing>Flow_0jbrwwb</bpmn:outgoing>
</bpmn:callActivity>
</bpmn:subProcess>
<bpmn:sequenceFlow id="Flow_0negut5" sourceRef="call_one" targetRef="Event_0pq4nje" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_rmvgdyk">
@ -79,20 +70,8 @@ b = 1</spiffworkflow:preScript>
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1huxd2x_di" bpmnElement="Flow_1huxd2x">
<bpmndi:BPMNEdge id="Flow_0negut5_di" bpmnElement="Flow_0negut5">
<di:waypoint x="370" y="177" />
<di:waypoint x="430" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0eifcik_di" bpmnElement="Flow_0eifcik">
<di:waypoint x="530" y="177" />
<di:waypoint x="590" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1y1ybqm_di" bpmnElement="Flow_1y1ybqm">
<di:waypoint x="690" y="177" />
<di:waypoint x="750" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04ndl5v_di" bpmnElement="Flow_04ndl5v">
<di:waypoint x="850" y="177" />
<di:waypoint x="912" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>

View File

@ -2,18 +2,23 @@
<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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="process_to_call" name="Process to call" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0z7awi0</bpmn:outgoing>
<bpmn:outgoing>Flow_1iemrmt</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:endEvent id="Event_08g7f08">
<bpmn:incoming>Flow_137eley</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0z7awi0" sourceRef="StartEvent_1" targetRef="super_awesome_script" />
<bpmn:sequenceFlow id="Flow_137eley" sourceRef="super_awesome_script" targetRef="Event_08g7f08" />
<bpmn:scriptTask id="super_awesome_script" name="Super Awesome Script">
<bpmn:incoming>Flow_0z7awi0</bpmn:incoming>
<bpmn:incoming>Flow_0o7cms6</bpmn:incoming>
<bpmn:outgoing>Flow_137eley</bpmn:outgoing>
<bpmn:script>a = 1</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1iemrmt" sourceRef="StartEvent_1" targetRef="Activity_1i3oymn" />
<bpmn:sequenceFlow id="Flow_0o7cms6" sourceRef="Activity_1i3oymn" targetRef="super_awesome_script" />
<bpmn:callActivity id="Activity_1i3oymn" calledElement="test_form">
<bpmn:incoming>Flow_1iemrmt</bpmn:incoming>
<bpmn:outgoing>Flow_0o7cms6</bpmn:outgoing>
</bpmn:callActivity>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_to_call">
@ -24,16 +29,25 @@
<dc:Bounds x="522" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_17yvfc6_di" bpmnElement="super_awesome_script">
<dc:Bounds x="270" y="137" width="100" height="80" />
<dc:Bounds x="380" y="137" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0z7awi0_di" bpmnElement="Flow_0z7awi0">
<bpmndi:BPMNShape id="Activity_0kr4y2a_di" bpmnElement="Activity_1i3oymn">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_137eley_di" bpmnElement="Flow_137eley">
<di:waypoint x="480" y="177" />
<di:waypoint x="522" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1iemrmt_di" bpmnElement="Flow_1iemrmt">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_137eley_di" bpmnElement="Flow_137eley">
<di:waypoint x="370" y="177" />
<di:waypoint x="522" y="177" />
<bpmndi:BPMNEdge id="Flow_0o7cms6_di" bpmnElement="Flow_0o7cms6">
<di:waypoint x="320" y="137" />
<di:waypoint x="320" y="117" />
<di:waypoint x="430" y="117" />
<di:waypoint x="430" y="137" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>

View File

@ -8,32 +8,15 @@
<bpmn:endEvent id="EndEvent_0q4qzl9">
<bpmn:incoming>Flow_17my2ps</bpmn:incoming>
</bpmn:endEvent>
<bpmn:userTask id="form1" name="get_user_generated_number_one" camunda:formKey="ConfirmEmail">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="form1.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="form1_ui.json" />
</spiffworkflow:properties>
<spiffworkflow:instructionsForEndUser>HEY
HO
{{system_generated_number}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0kk2hzj</bpmn:incoming>
<bpmn:outgoing>Flow_1cck1pb</bpmn:outgoing>
</bpmn:userTask>
<bpmn:scriptTask id="multiply1" name="multiply" scriptFormat="python">
<bpmn:incoming>Flow_1cck1pb</bpmn:incoming>
<bpmn:incoming>Flow_1pq3xb5</bpmn:incoming>
<bpmn:outgoing>Flow_16gxvwr</bpmn:outgoing>
<bpmn:script>product_one = system_generated_number * user_generated_number_1</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_0kk2hzj" sourceRef="set_system_generated_number" targetRef="form1" />
<bpmn:sequenceFlow id="Flow_16gxvwr" sourceRef="multiply1" targetRef="form2" />
<bpmn:sequenceFlow id="Flow_1cck1pb" sourceRef="form1" targetRef="multiply1" />
<bpmn:scriptTask id="set_system_generated_number" name="set_system_generated_number" scriptFormat="python">
<bpmn:incoming>SequenceFlow_0lvudp8</bpmn:incoming>
<bpmn:outgoing>Flow_0kk2hzj</bpmn:outgoing>
<bpmn:outgoing>Flow_1n3gm10</bpmn:outgoing>
<bpmn:script>system_generated_number = 4</bpmn:script>
</bpmn:scriptTask>
<bpmn:userTask id="form2" name="get_user_generated_number_two">
@ -87,15 +70,43 @@ HO
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_17my2ps" sourceRef="multiply4" targetRef="EndEvent_0q4qzl9" />
<bpmn:sequenceFlow id="Flow_0lxveac" sourceRef="form4" targetRef="multiply4" />
<bpmn:sequenceFlow id="Flow_1n3gm10" sourceRef="set_system_generated_number" targetRef="form_subprocess" />
<bpmn:sequenceFlow id="Flow_1pq3xb5" sourceRef="form_subprocess" targetRef="multiply1" />
<bpmn:subProcess id="form_subprocess" name="form_subprocess">
<bpmn:incoming>Flow_1n3gm10</bpmn:incoming>
<bpmn:outgoing>Flow_1pq3xb5</bpmn:outgoing>
<bpmn:startEvent id="Event_0ndd0oh">
<bpmn:outgoing>Flow_1ol104g</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="form1" name="get_user_generated_number_one" camunda:formKey="ConfirmEmail">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="form1.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="form1_ui.json" />
</spiffworkflow:properties>
<spiffworkflow:instructionsForEndUser>HEY
HO
{{system_generated_number}}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1ol104g</bpmn:incoming>
<bpmn:outgoing>Flow_0s5gxxe</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1ol104g" sourceRef="Event_0ndd0oh" targetRef="form1" />
<bpmn:endEvent id="Event_01q6of6">
<bpmn:incoming>Flow_0s5gxxe</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0s5gxxe" sourceRef="form1" targetRef="Event_01q6of6" />
</bpmn:subProcess>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="test_form">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="112" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0hkyp4b_di" bpmnElement="form1">
<dc:Bounds x="230" y="210" width="100" height="80" />
<bpmndi:BPMNLabel />
<bpmndi:BPMNShape id="EndEvent_0q4qzl9_di" bpmnElement="EndEvent_0q4qzl9">
<dc:Bounds x="902" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1fztkl6_di" bpmnElement="multiply1">
<dc:Bounds x="330" y="77" width="100" height="80" />
@ -129,30 +140,20 @@ HO
<dc:Bounds x="760" y="77" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_0q4qzl9_di" bpmnElement="EndEvent_0q4qzl9">
<dc:Bounds x="902" y="99" width="36" height="36" />
<bpmndi:BPMNShape id="Activity_0c1khwq_di" bpmnElement="form_subprocess" isExpanded="false">
<dc:Bounds x="230" y="210" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0lvudp8_di" bpmnElement="SequenceFlow_0lvudp8">
<di:waypoint x="147" y="110" />
<di:waypoint x="190" y="110" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0kk2hzj_di" bpmnElement="Flow_0kk2hzj">
<di:waypoint x="240" y="157" />
<di:waypoint x="240" y="184" />
<di:waypoint x="280" y="184" />
<di:waypoint x="280" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_16gxvwr_di" bpmnElement="Flow_16gxvwr">
<di:waypoint x="380" y="157" />
<di:waypoint x="380" y="184" />
<di:waypoint x="430" y="184" />
<di:waypoint x="430" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1cck1pb_di" bpmnElement="Flow_1cck1pb">
<di:waypoint x="330" y="250" />
<di:waypoint x="350" y="250" />
<di:waypoint x="350" y="157" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0k1q81g_di" bpmnElement="Flow_0k1q81g">
<di:waypoint x="470" y="210" />
<di:waypoint x="470" y="184" />
@ -187,6 +188,40 @@ HO
<di:waypoint x="810" y="184" />
<di:waypoint x="810" y="157" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1n3gm10_di" bpmnElement="Flow_1n3gm10">
<di:waypoint x="240" y="77" />
<di:waypoint x="240" y="57" />
<di:waypoint x="280" y="57" />
<di:waypoint x="280" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1pq3xb5_di" bpmnElement="Flow_1pq3xb5">
<di:waypoint x="280" y="210" />
<di:waypoint x="280" y="57" />
<di:waypoint x="380" y="57" />
<di:waypoint x="380" y="77" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_0jwlhvm">
<bpmndi:BPMNPlane id="BPMNPlane_0bwdw29" bpmnElement="form_subprocess">
<bpmndi:BPMNShape id="Event_0ndd0oh_di" bpmnElement="Event_0ndd0oh">
<dc:Bounds x="180" y="182" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0hkyp4b_di" bpmnElement="form1">
<dc:Bounds x="254.66666666666666" y="160" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_01q6of6_di" bpmnElement="Event_01q6of6">
<dc:Bounds x="396.66666666666663" y="182" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1ol104g_di" bpmnElement="Flow_1ol104g">
<di:waypoint x="215.66666666666666" y="200" />
<di:waypoint x="254.66666666666666" y="200" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0s5gxxe_di" bpmnElement="Flow_0s5gxxe">
<di:waypoint x="354.66666666666663" y="200" />
<di:waypoint x="396.66666666666663" y="200" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -80,9 +80,6 @@ for i in [0, 1, 2]:
<dc:Bounds x="113" y="145" width="75" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1qb1u6a_di" bpmnElement="Event_1qb1u6a">
<dc:Bounds x="572" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_17ohe7r_di" bpmnElement="Activity_0pxf6g1">
<dc:Bounds x="241" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
@ -91,6 +88,9 @@ for i in [0, 1, 2]:
<dc:Bounds x="410" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1qb1u6a_di" bpmnElement="Event_1qb1u6a">
<dc:Bounds x="582" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_10jwwqy_di" bpmnElement="Flow_10jwwqy">
<di:waypoint x="168" y="120" />
<di:waypoint x="241" y="120" />
@ -101,7 +101,7 @@ for i in [0, 1, 2]:
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1hd6o66_di" bpmnElement="Flow_1hd6o66">
<di:waypoint x="510" y="120" />
<di:waypoint x="572" y="120" />
<di:waypoint x="582" y="120" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>