@5minds/node-red-contrib-processcube 0.15.0-fix-error-in-process-instance-query-f9f0d2-lz03zzg4 → 0.15.0-fix-error-in-process-instance-query-8fa811-lz054xqa
Sign up to get free protection for your applications and to get access to all the features.
- package/Dockerfile +1 -1
- package/docker-compose.yml +12 -0
- package/examples/External-Task-Sample.json +252 -0
- package/externaltask-error.html +16 -2
- package/externaltask-error.js +11 -13
- package/externaltask-input.html +19 -2
- package/externaltask-input.js +107 -60
- package/externaltask-output.html +12 -2
- package/externaltask-output.js +8 -7
- package/message-event-trigger.js +6 -14
- package/nodered/node-red-contrib-processcube-flows.json +216 -132
- package/nodered/package.json +1 -0
- package/package.json +2 -2
- package/process-start.js +1 -13
- package/processcube-engine-config.js +14 -0
- package/processdefinition-query.js +6 -16
- package/processes/External-Task-Sample.bpmn +94 -0
- package/processinstance-query.js +6 -17
- package/signal-event-trigger.js +2 -12
- package/usertask-finished-listener.js +24 -27
- package/usertask-input.js +12 -26
- package/usertask-new-listener.js +5 -16
- package/usertask-output.js +8 -17
- package/processes/CheckError.bpmn +0 -78
- package/processes/NodeRedExternalTask.bpmn +0 -77
- package/processes/SampleUserTask.bpmn +0 -95
@@ -1,95 +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="SampleUserTask_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="SampleUserTask" processRef="SampleUserTask_Process" />
|
5
|
-
</bpmn:collaboration>
|
6
|
-
<bpmn:process id="SampleUserTask_Process" name="SampleUserTask" isExecutable="true">
|
7
|
-
<bpmn:laneSet>
|
8
|
-
<bpmn:lane id="Lane_1xzf0d3" name="Lane">
|
9
|
-
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
|
10
|
-
<bpmn:flowNodeRef>Activity_0ljiko7</bpmn:flowNodeRef>
|
11
|
-
<bpmn:flowNodeRef>Event_1eeiwx4</bpmn:flowNodeRef>
|
12
|
-
<bpmn:flowNodeRef>Activity_0glvmjk</bpmn:flowNodeRef>
|
13
|
-
</bpmn:lane>
|
14
|
-
</bpmn:laneSet>
|
15
|
-
<bpmn:startEvent id="StartEvent_1" name="Start">
|
16
|
-
<bpmn:extensionElements>
|
17
|
-
<camunda:properties>
|
18
|
-
<camunda:property name="studio.defaultCustomStartToken" value="{ "sample": "hello" }" />
|
19
|
-
</camunda:properties>
|
20
|
-
</bpmn:extensionElements>
|
21
|
-
<bpmn:outgoing>Flow_1h0giih</bpmn:outgoing>
|
22
|
-
</bpmn:startEvent>
|
23
|
-
<bpmn:sequenceFlow id="Flow_1h0giih" sourceRef="StartEvent_1" targetRef="Activity_0ljiko7" />
|
24
|
-
<bpmn:userTask id="Activity_0ljiko7" name="Hello world">
|
25
|
-
<bpmn:extensionElements>
|
26
|
-
<camunda:formData>
|
27
|
-
<camunda:formField id="text_id" label="Text Label" type="string" />
|
28
|
-
<camunda:formField id="number_id" label="Number Label" type="long" defaultValue="${token.current.sample}" customForm="{"hint":"Sample"}" />
|
29
|
-
<camunda:formField id="date_id" label="Date Label" type="date" />
|
30
|
-
<camunda:formField id="select_id" label="Select Label" type="enum">
|
31
|
-
<camunda:value id="value_01" name="Value 01" />
|
32
|
-
<camunda:value id="value_02" name="Value 02" />
|
33
|
-
</camunda:formField>
|
34
|
-
<camunda:formField id="boolean_id" label="Boolean Label" type="boolean" />
|
35
|
-
</camunda:formData>
|
36
|
-
</bpmn:extensionElements>
|
37
|
-
<bpmn:incoming>Flow_1h0giih</bpmn:incoming>
|
38
|
-
<bpmn:outgoing>Flow_06e5qq4</bpmn:outgoing>
|
39
|
-
</bpmn:userTask>
|
40
|
-
<bpmn:sequenceFlow id="Flow_06e5qq4" sourceRef="Activity_0ljiko7" targetRef="Activity_0glvmjk" />
|
41
|
-
<bpmn:endEvent id="Event_1eeiwx4">
|
42
|
-
<bpmn:incoming>Flow_02dyxfy</bpmn:incoming>
|
43
|
-
</bpmn:endEvent>
|
44
|
-
<bpmn:sequenceFlow id="Flow_02dyxfy" sourceRef="Activity_0glvmjk" targetRef="Event_1eeiwx4" />
|
45
|
-
<bpmn:userTask id="Activity_0glvmjk" name="foo">
|
46
|
-
<bpmn:extensionElements>
|
47
|
-
<camunda:formData>
|
48
|
-
<camunda:formField id="FormField_BeDNcjma" label="Label 1" type="string" />
|
49
|
-
<camunda:formField id="FormField_Qv2INvg4" label="Label 2" type="string" />
|
50
|
-
</camunda:formData>
|
51
|
-
</bpmn:extensionElements>
|
52
|
-
<bpmn:incoming>Flow_06e5qq4</bpmn:incoming>
|
53
|
-
<bpmn:outgoing>Flow_02dyxfy</bpmn:outgoing>
|
54
|
-
</bpmn:userTask>
|
55
|
-
</bpmn:process>
|
56
|
-
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
57
|
-
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
|
58
|
-
<bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
|
59
|
-
<dc:Bounds x="5" y="4" width="665" height="346" />
|
60
|
-
</bpmndi:BPMNShape>
|
61
|
-
<bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
|
62
|
-
<dc:Bounds x="35" y="4" width="635" height="346" />
|
63
|
-
</bpmndi:BPMNShape>
|
64
|
-
<bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
|
65
|
-
<dc:Bounds x="92" y="152" width="36" height="36" />
|
66
|
-
<bpmndi:BPMNLabel>
|
67
|
-
<dc:Bounds x="98" y="195" width="24" height="14" />
|
68
|
-
</bpmndi:BPMNLabel>
|
69
|
-
</bpmndi:BPMNShape>
|
70
|
-
<bpmndi:BPMNShape id="Activity_1uodwbi_di" bpmnElement="Activity_0ljiko7">
|
71
|
-
<dc:Bounds x="180" y="130" width="100" height="80" />
|
72
|
-
<bpmndi:BPMNLabel />
|
73
|
-
</bpmndi:BPMNShape>
|
74
|
-
<bpmndi:BPMNShape id="Event_1eeiwx4_di" bpmnElement="Event_1eeiwx4">
|
75
|
-
<dc:Bounds x="482" y="152" width="36" height="36" />
|
76
|
-
</bpmndi:BPMNShape>
|
77
|
-
<bpmndi:BPMNShape id="Activity_0vcm0z0_di" bpmnElement="Activity_0glvmjk">
|
78
|
-
<dc:Bounds x="330" y="130" width="100" height="80" />
|
79
|
-
<bpmndi:BPMNLabel />
|
80
|
-
</bpmndi:BPMNShape>
|
81
|
-
<bpmndi:BPMNEdge id="Flow_1h0giih_di" bpmnElement="Flow_1h0giih">
|
82
|
-
<di:waypoint x="128" y="170" />
|
83
|
-
<di:waypoint x="180" y="170" />
|
84
|
-
</bpmndi:BPMNEdge>
|
85
|
-
<bpmndi:BPMNEdge id="Flow_06e5qq4_di" bpmnElement="Flow_06e5qq4">
|
86
|
-
<di:waypoint x="280" y="170" />
|
87
|
-
<di:waypoint x="330" y="170" />
|
88
|
-
</bpmndi:BPMNEdge>
|
89
|
-
<bpmndi:BPMNEdge id="Flow_02dyxfy_di" bpmnElement="Flow_02dyxfy">
|
90
|
-
<di:waypoint x="430" y="170" />
|
91
|
-
<di:waypoint x="482" y="170" />
|
92
|
-
</bpmndi:BPMNEdge>
|
93
|
-
</bpmndi:BPMNPlane>
|
94
|
-
</bpmndi:BPMNDiagram>
|
95
|
-
</bpmn:definitions>
|