User: boulier.th@gmail.com clicked save for playground/fime/test-process/name_greet.bpmn

This commit is contained in:
sartography-automated-committer 2023-06-29 14:38:43 +00:00
parent 5caafe8077
commit 9a3a619c12

View File

@ -16,7 +16,8 @@
<bpmn:userTask id="Activity_0fqshiv" name="Input your name">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="select_product_and_quantity.json" />
<spiffworkflow:property name="formJsonSchemaFilename" value="get-name-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="get-name-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0daniwn</bpmn:incoming>
@ -26,19 +27,20 @@
<bpmn:sequenceFlow id="Flow_0sbo3r3" sourceRef="Activity_1mbbo8t" targetRef="Activity_18othr1" />
<bpmn:scriptTask id="Activity_1mbbo8t" name="Compute message">
<bpmn:incoming>Flow_1bpyqjv</bpmn:incoming>
<bpmn:incoming>Flow_14yu3cy</bpmn:incoming>
<bpmn:outgoing>Flow_0sbo3r3</bpmn:outgoing>
<bpmn:script>import datetime
message = f"Date of purchase {datetime.date.today()}"
print("\n -- Script task")
</bpmn:script>
</bpmn:script>
</bpmn:scriptTask>
<bpmn:manualTask id="Activity_18othr1" name="Greet">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>Order Summary
Buyer: {{ name }}
{{ message }}
{{ product_name }}
Quantity: {{ product_quantity }}
</spiffworkflow:instructionsForEndUser>
Quantity: {{ product_quantity }}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0sbo3r3</bpmn:incoming>
<bpmn:outgoing>Flow_16k4jyj</bpmn:outgoing>
@ -47,29 +49,24 @@ print("\n -- Script task")
<bpmn:parallelGateway id="Gateway_1dwq2wx">
<bpmn:incoming>Flow_0dz7222</bpmn:incoming>
<bpmn:outgoing>Flow_0daniwn</bpmn:outgoing>
<bpmn:outgoing>Flow_1b8p3gy</bpmn:outgoing>
</bpmn:parallelGateway>
<bpmn:sequenceFlow id="Flow_0daniwn" sourceRef="Gateway_1dwq2wx" targetRef="Activity_0fqshiv" />
<bpmn:userTask id="Activity_04p0xwh" name="Choose product">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="products-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="products-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1b8p3gy</bpmn:incoming>
<bpmn:outgoing>Flow_14yu3cy</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1b8p3gy" sourceRef="Gateway_1dwq2wx" targetRef="Activity_04p0xwh" />
<bpmn:sequenceFlow id="Flow_14yu3cy" sourceRef="Activity_04p0xwh" targetRef="Activity_1mbbo8t" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_04o1qwp">
<bpmndi:BPMNShape id="Event_08czeq5_di" bpmnElement="Event_08czeq5">
<dc:Bounds x="842" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10oyo6w_di" bpmnElement="Activity_0fqshiv">
<dc:Bounds x="410" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1qd3h3k_di" bpmnElement="Activity_1mbbo8t">
<dc:Bounds x="550" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1de5w4c_di" bpmnElement="Activity_18othr1">
<dc:Bounds x="700" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0zbjeax_di" bpmnElement="Gateway_1dwq2wx">
<dc:Bounds x="425" y="205" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_0w6pt9w">
<dc:Bounds x="132" y="212" width="36" height="36" />
</bpmndi:BPMNShape>
@ -77,25 +74,51 @@ print("\n -- Script task")
<dc:Bounds x="220" y="190" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10oyo6w_di" bpmnElement="Activity_0fqshiv">
<dc:Bounds x="410" y="80" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0zbjeax_di" bpmnElement="Gateway_1dwq2wx">
<dc:Bounds x="425" y="205" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1l5rli5_di" bpmnElement="Activity_04p0xwh">
<dc:Bounds x="400" y="290" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1qd3h3k_di" bpmnElement="Activity_1mbbo8t">
<dc:Bounds x="600" y="180" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1de5w4c_di" bpmnElement="Activity_18othr1">
<dc:Bounds x="760" y="170" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_08czeq5_di" bpmnElement="Event_08czeq5">
<dc:Bounds x="942" y="192" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_07to06f_di" bpmnElement="Flow_07to06f">
<di:waypoint x="168" y="230" />
<di:waypoint x="220" y="230" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0dz7222_di" bpmnElement="Flow_0dz7222">
<di:waypoint x="320" y="230" />
<di:waypoint x="425" y="230" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1bpyqjv_di" bpmnElement="Flow_1bpyqjv">
<di:waypoint x="510" y="120" />
<di:waypoint x="550" y="120" />
<di:waypoint x="555" y="120" />
<di:waypoint x="555" y="220" />
<di:waypoint x="600" y="220" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0sbo3r3_di" bpmnElement="Flow_0sbo3r3">
<di:waypoint x="650" y="120" />
<di:waypoint x="700" y="120" />
<di:waypoint x="700" y="220" />
<di:waypoint x="730" y="220" />
<di:waypoint x="730" y="210" />
<di:waypoint x="760" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_16k4jyj_di" bpmnElement="Flow_16k4jyj">
<di:waypoint x="800" y="120" />
<di:waypoint x="842" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_07to06f_di" bpmnElement="Flow_07to06f">
<di:waypoint x="168" y="230" />
<di:waypoint x="220" y="230" />
<di:waypoint x="860" y="210" />
<di:waypoint x="942" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0daniwn_di" bpmnElement="Flow_0daniwn">
<di:waypoint x="450" y="205" />
@ -103,6 +126,16 @@ print("\n -- Script task")
<di:waypoint x="460" y="183" />
<di:waypoint x="460" y="160" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1b8p3gy_di" bpmnElement="Flow_1b8p3gy">
<di:waypoint x="450" y="255" />
<di:waypoint x="450" y="290" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_14yu3cy_di" bpmnElement="Flow_14yu3cy">
<di:waypoint x="500" y="330" />
<di:waypoint x="550" y="330" />
<di:waypoint x="550" y="220" />
<di:waypoint x="600" y="220" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>