User: alex clicked save for demo/amin-demo/Submit-the-invoice_JSONSchema.json

This commit is contained in:
demo 2022-10-26 22:17:03 +00:00
parent 4dd5993ae8
commit 7bfd9ab261
4 changed files with 39 additions and 64 deletions

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Check_If_Match" name="Check If Match">
<decisionTable id="decisionTable_1">
<input id="input_1" label="Annual Salary / 12 = Invoice Amount?">
<inputExpression id="inputExpression_1" typeRef="number">
<text>(annual_salary/12)/invoiceAmount</text>
</inputExpression>
</input>
<output id="output_1" label="Match?" name="isMatch" typeRef="boolean" />
<rule id="DecisionRule_0g8lzfi">
<inputEntry id="UnaryTests_0xdm1tc">
<text>1</text>
</inputEntry>
<outputEntry id="LiteralExpression_06fsqul">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1uathhd">
<inputEntry id="UnaryTests_1vsc4hr">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1kga8fn">
<text>False</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Check_If_Match">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:process id="Proccess_c3aa856" isExecutable="true">
<bpmn:serviceTask id="Activity_17id1dk" name="Send Waku Message to CC Invoice Rejected">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="wr_InvocieRejected">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="message" type="str" value="&#39;Invocie Rejected.&#39;" />
<spiffworkflow:parameter id="message_type" type="str" value="&#34;wakuext_sendOneToOneMessage&#34;" />
<spiffworkflow:parameter id="recipient" type="str" value="&#34;0x04622cf750e9f79e60546258bebd4be274f75720b16862bb0c496aaeab746b6fbe897f956b2b08152bc3def5297bed95986a5211ae1a34491d35f51f69713cbf9d&#34;" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
</bpmn:serviceTask>
<bpmn:startEvent id="Event_12pq5le" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_c3aa856">
<bpmndi:BPMNShape id="Activity_0n3s9mu_di" bpmnElement="Activity_17id1dk">
<dc:Bounds x="1420" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_12pq5le_di" bpmnElement="Event_12pq5le">
<dc:Bounds x="402" y="122" width="36" height="36" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<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="Proccess_kl1wfpw" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0u9w650</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0u9w650" sourceRef="StartEvent_1" targetRef="Activity_10lmwsa" />
<bpmn:userTask id="Activity_10lmwsa" name="Submit Invoice">
<bpmn:incoming>Flow_0u9w650</bpmn:incoming>
<bpmn:outgoing>Flow_0j8etzf</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="Event_1iwvzzf">
<bpmn:incoming>Flow_0j8etzf</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0j8etzf" sourceRef="Activity_10lmwsa" targetRef="Event_1iwvzzf" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_kl1wfpw">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1y1s7nn_di" bpmnElement="Activity_10lmwsa">
<dc:Bounds x="270" y="137" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1iwvzzf_di" bpmnElement="Event_1iwvzzf">
<dc:Bounds x="432" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0u9w650_di" bpmnElement="Flow_0u9w650">
<di:waypoint x="215" y="177" />
<di:waypoint x="270" y="177" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0j8etzf_di" bpmnElement="Flow_0j8etzf">
<di:waypoint x="370" y="177" />
<di:waypoint x="432" y="177" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>