@5minds/node-red-contrib-processcube 0.14.0-feature-ef048b-lyy1ngi6 → 0.14.0-fix-error-in-process-instance-query-433395-lyzh0xul
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +1 -1
 - package/docker-compose.yml +0 -11
 - package/externaltask-error.js +13 -14
 - package/externaltask-input.js +43 -98
 - package/externaltask-output.js +3 -3
 - package/nodered/node-red-contrib-processcube-flows.json +133 -108
 - package/nodered/settings.js +1 -1
 - package/package.json +1 -1
 - package/processcube-engine-config.js +2 -17
 - package/processes/CheckError.bpmn +78 -0
 - package/processes/NodeRedExternalTask.bpmn +77 -0
 - package/processes/SampleUserTask.bpmn +95 -0
 - package/processinstance-query.js +36 -22
 - package/examples/External-Task-Sample.json +0 -252
 - package/processes/External-Task-Sample.bpmn +0 -94
 
| 
         @@ -1,94 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <?xml version="1.0" encoding="UTF-8"?>
         
     | 
| 
       2 
     | 
    
         
            -
            <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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="External-Task-Sample_Definition" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
         
     | 
| 
       3 
     | 
    
         
            -
              <bpmn:collaboration id="Collaboration_1cidyxu" name="">
         
     | 
| 
       4 
     | 
    
         
            -
                <bpmn:participant id="Participant_0px403d" name="External-Task-Sample" processRef="External-Task-Sample_Process" />
         
     | 
| 
       5 
     | 
    
         
            -
                <bpmn:textAnnotation id="TextAnnotation_0lbjt7p">
         
     | 
| 
       6 
     | 
    
         
            -
                  <bpmn:text>Will be executed at the boundary event</bpmn:text>
         
     | 
| 
       7 
     | 
    
         
            -
                </bpmn:textAnnotation>
         
     | 
| 
       8 
     | 
    
         
            -
                <bpmn:association id="Association_0ivfgz1" associationDirection="None" sourceRef="Activity_0ma3kzt" targetRef="TextAnnotation_0lbjt7p" />
         
     | 
| 
       9 
     | 
    
         
            -
              </bpmn:collaboration>
         
     | 
| 
       10 
     | 
    
         
            -
              <bpmn:process id="External-Task-Sample_Process" name="External-Task-Sample" isExecutable="true">
         
     | 
| 
       11 
     | 
    
         
            -
                <bpmn:laneSet />
         
     | 
| 
       12 
     | 
    
         
            -
                <bpmn:startEvent id="StartEvent_1" name="Start">
         
     | 
| 
       13 
     | 
    
         
            -
                  <bpmn:outgoing>Flow_0qmxzxk</bpmn:outgoing>
         
     | 
| 
       14 
     | 
    
         
            -
                </bpmn:startEvent>
         
     | 
| 
       15 
     | 
    
         
            -
                <bpmn:sequenceFlow id="Flow_0qmxzxk" sourceRef="StartEvent_1" targetRef="Activity_02ykwt2" />
         
     | 
| 
       16 
     | 
    
         
            -
                <bpmn:sequenceFlow id="Flow_16dfeac" sourceRef="Activity_02ykwt2" targetRef="Activity_0ma3kzt" />
         
     | 
| 
       17 
     | 
    
         
            -
                <bpmn:endEvent id="Event_05wpeos">
         
     | 
| 
       18 
     | 
    
         
            -
                  <bpmn:incoming>Flow_0mo4oek</bpmn:incoming>
         
     | 
| 
       19 
     | 
    
         
            -
                </bpmn:endEvent>
         
     | 
| 
       20 
     | 
    
         
            -
                <bpmn:sequenceFlow id="Flow_0mo4oek" sourceRef="Activity_0ma3kzt" targetRef="Event_05wpeos" />
         
     | 
| 
       21 
     | 
    
         
            -
                <bpmn:endEvent id="Event_0yn9mzh">
         
     | 
| 
       22 
     | 
    
         
            -
                  <bpmn:incoming>Flow_0y6es1p</bpmn:incoming>
         
     | 
| 
       23 
     | 
    
         
            -
                </bpmn:endEvent>
         
     | 
| 
       24 
     | 
    
         
            -
                <bpmn:sequenceFlow id="Flow_0y6es1p" sourceRef="Event_0o7qlkd" targetRef="Event_0yn9mzh" />
         
     | 
| 
       25 
     | 
    
         
            -
                <bpmn:serviceTask id="Activity_02ykwt2" name="Topic "Test"" camunda:type="external" camunda:topic="Test">
         
     | 
| 
       26 
     | 
    
         
            -
                  <bpmn:incoming>Flow_0qmxzxk</bpmn:incoming>
         
     | 
| 
       27 
     | 
    
         
            -
                  <bpmn:outgoing>Flow_16dfeac</bpmn:outgoing>
         
     | 
| 
       28 
     | 
    
         
            -
                </bpmn:serviceTask>
         
     | 
| 
       29 
     | 
    
         
            -
                <bpmn:serviceTask id="Activity_0ma3kzt" name="Topic "SampleError"" camunda:type="external" camunda:topic="SampleError">
         
     | 
| 
       30 
     | 
    
         
            -
                  <bpmn:incoming>Flow_16dfeac</bpmn:incoming>
         
     | 
| 
       31 
     | 
    
         
            -
                  <bpmn:outgoing>Flow_0mo4oek</bpmn:outgoing>
         
     | 
| 
       32 
     | 
    
         
            -
                </bpmn:serviceTask>
         
     | 
| 
       33 
     | 
    
         
            -
                <bpmn:boundaryEvent id="Event_0o7qlkd" attachedToRef="Activity_0ma3kzt">
         
     | 
| 
       34 
     | 
    
         
            -
                  <bpmn:outgoing>Flow_0y6es1p</bpmn:outgoing>
         
     | 
| 
       35 
     | 
    
         
            -
                  <bpmn:errorEventDefinition id="ErrorEventDefinition_1lr8fha" errorRef="Error_3O8wBFQi" />
         
     | 
| 
       36 
     | 
    
         
            -
                </bpmn:boundaryEvent>
         
     | 
| 
       37 
     | 
    
         
            -
              </bpmn:process>
         
     | 
| 
       38 
     | 
    
         
            -
              <bpmn:error id="Error_3O8wBFQi" errorCode="ExternalTaskWorkerError" />
         
     | 
| 
       39 
     | 
    
         
            -
              <bpmndi:BPMNDiagram id="BPMNDiagram_1">
         
     | 
| 
       40 
     | 
    
         
            -
                <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
         
     | 
| 
       41 
     | 
    
         
            -
                  <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
         
     | 
| 
       42 
     | 
    
         
            -
                    <dc:Bounds x="5" y="30" width="635" height="320" />
         
     | 
| 
       43 
     | 
    
         
            -
                  </bpmndi:BPMNShape>
         
     | 
| 
       44 
     | 
    
         
            -
                  <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
         
     | 
| 
       45 
     | 
    
         
            -
                    <dc:Bounds x="92" y="152" width="36" height="36" />
         
     | 
| 
       46 
     | 
    
         
            -
                    <bpmndi:BPMNLabel>
         
     | 
| 
       47 
     | 
    
         
            -
                      <dc:Bounds x="98" y="195" width="24" height="14" />
         
     | 
| 
       48 
     | 
    
         
            -
                    </bpmndi:BPMNLabel>
         
     | 
| 
       49 
     | 
    
         
            -
                  </bpmndi:BPMNShape>
         
     | 
| 
       50 
     | 
    
         
            -
                  <bpmndi:BPMNShape id="Event_05wpeos_di" bpmnElement="Event_05wpeos">
         
     | 
| 
       51 
     | 
    
         
            -
                    <dc:Bounds x="502" y="152" width="36" height="36" />
         
     | 
| 
       52 
     | 
    
         
            -
                  </bpmndi:BPMNShape>
         
     | 
| 
       53 
     | 
    
         
            -
                  <bpmndi:BPMNShape id="Event_0yn9mzh_di" bpmnElement="Event_0yn9mzh">
         
     | 
| 
       54 
     | 
    
         
            -
                    <dc:Bounds x="482" y="272" width="36" height="36" />
         
     | 
| 
       55 
     | 
    
         
            -
                  </bpmndi:BPMNShape>
         
     | 
| 
       56 
     | 
    
         
            -
                  <bpmndi:BPMNShape id="Activity_1vxcs04_di" bpmnElement="Activity_02ykwt2">
         
     | 
| 
       57 
     | 
    
         
            -
                    <dc:Bounds x="180" y="130" width="100" height="80" />
         
     | 
| 
       58 
     | 
    
         
            -
                    <bpmndi:BPMNLabel />
         
     | 
| 
       59 
     | 
    
         
            -
                  </bpmndi:BPMNShape>
         
     | 
| 
       60 
     | 
    
         
            -
                  <bpmndi:BPMNShape id="Activity_1b7fiqp_di" bpmnElement="Activity_0ma3kzt">
         
     | 
| 
       61 
     | 
    
         
            -
                    <dc:Bounds x="340" y="130" width="100" height="80" />
         
     | 
| 
       62 
     | 
    
         
            -
                    <bpmndi:BPMNLabel />
         
     | 
| 
       63 
     | 
    
         
            -
                  </bpmndi:BPMNShape>
         
     | 
| 
       64 
     | 
    
         
            -
                  <bpmndi:BPMNShape id="Event_134k5nt_di" bpmnElement="Event_0o7qlkd">
         
     | 
| 
       65 
     | 
    
         
            -
                    <dc:Bounds x="392" y="192" width="36" height="36" />
         
     | 
| 
       66 
     | 
    
         
            -
                  </bpmndi:BPMNShape>
         
     | 
| 
       67 
     | 
    
         
            -
                  <bpmndi:BPMNEdge id="Flow_0qmxzxk_di" bpmnElement="Flow_0qmxzxk">
         
     | 
| 
       68 
     | 
    
         
            -
                    <di:waypoint x="128" y="170" />
         
     | 
| 
       69 
     | 
    
         
            -
                    <di:waypoint x="180" y="170" />
         
     | 
| 
       70 
     | 
    
         
            -
                  </bpmndi:BPMNEdge>
         
     | 
| 
       71 
     | 
    
         
            -
                  <bpmndi:BPMNEdge id="Flow_16dfeac_di" bpmnElement="Flow_16dfeac">
         
     | 
| 
       72 
     | 
    
         
            -
                    <di:waypoint x="280" y="170" />
         
     | 
| 
       73 
     | 
    
         
            -
                    <di:waypoint x="340" y="170" />
         
     | 
| 
       74 
     | 
    
         
            -
                  </bpmndi:BPMNEdge>
         
     | 
| 
       75 
     | 
    
         
            -
                  <bpmndi:BPMNEdge id="Flow_0mo4oek_di" bpmnElement="Flow_0mo4oek">
         
     | 
| 
       76 
     | 
    
         
            -
                    <di:waypoint x="440" y="170" />
         
     | 
| 
       77 
     | 
    
         
            -
                    <di:waypoint x="502" y="170" />
         
     | 
| 
       78 
     | 
    
         
            -
                  </bpmndi:BPMNEdge>
         
     | 
| 
       79 
     | 
    
         
            -
                  <bpmndi:BPMNEdge id="Flow_0y6es1p_di" bpmnElement="Flow_0y6es1p">
         
     | 
| 
       80 
     | 
    
         
            -
                    <di:waypoint x="410" y="228" />
         
     | 
| 
       81 
     | 
    
         
            -
                    <di:waypoint x="410" y="290" />
         
     | 
| 
       82 
     | 
    
         
            -
                    <di:waypoint x="482" y="290" />
         
     | 
| 
       83 
     | 
    
         
            -
                  </bpmndi:BPMNEdge>
         
     | 
| 
       84 
     | 
    
         
            -
                  <bpmndi:BPMNEdge id="Association_0ivfgz1_di" bpmnElement="Association_0ivfgz1">
         
     | 
| 
       85 
     | 
    
         
            -
                    <di:waypoint x="401" y="130" />
         
     | 
| 
       86 
     | 
    
         
            -
                    <di:waypoint x="413" y="90" />
         
     | 
| 
       87 
     | 
    
         
            -
                  </bpmndi:BPMNEdge>
         
     | 
| 
       88 
     | 
    
         
            -
                  <bpmndi:BPMNShape id="TextAnnotation_0lbjt7p_di" bpmnElement="TextAnnotation_0lbjt7p">
         
     | 
| 
       89 
     | 
    
         
            -
                    <dc:Bounds x="370" y="50" width="169.99387960829492" height="39.99855990783411" />
         
     | 
| 
       90 
     | 
    
         
            -
                    <bpmndi:BPMNLabel />
         
     | 
| 
       91 
     | 
    
         
            -
                  </bpmndi:BPMNShape>
         
     | 
| 
       92 
     | 
    
         
            -
                </bpmndi:BPMNPlane>
         
     | 
| 
       93 
     | 
    
         
            -
              </bpmndi:BPMNDiagram>
         
     | 
| 
       94 
     | 
    
         
            -
            </bpmn:definitions>
         
     |