@5minds/node-red-contrib-processcube 1.1.4-feature-e25f70-m14zy2lq → 1.1.4-feature-f2c5f6-m22xalfy
Sign up to get free protection for your applications and to get access to all the features.
- package/examples/User-Task-Sample.json +67 -92
- package/package.json +1 -1
- package/processcube-engine-config.html +31 -8
- package/processcube-engine-config.js +8 -5
- package/processes/User-Task-Sample.bpmn +21 -17
- package/examples/Endevent-Finished-Sample.json +0 -46
- package/examples/Externaltask-Event-Sample.json +0 -48
- package/examples/Message-Event-Trigger-Sample.json +0 -47
- package/examples/Process-Event-Listener.json +0 -50
- package/examples/Process-Start-Sample.json +0 -48
- package/examples/Process-Terminate-Sample.json +0 -75
- package/examples/Signal-Event-Trigger-Sample.json +0 -47
@@ -21,16 +21,15 @@
|
|
21
21
|
"color": "#a4a4a4"
|
22
22
|
},
|
23
23
|
"nodes": [
|
24
|
+
"f7a9604a17188737",
|
24
25
|
"020d34cd4ab43900",
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"2760e94c2824a5a4",
|
28
|
-
"8d17d660fce14104"
|
26
|
+
"1db0ae57c1b8486b",
|
27
|
+
"127bc6e092c5724e"
|
29
28
|
],
|
30
29
|
"x": 34,
|
31
|
-
"y":
|
32
|
-
"w":
|
33
|
-
"h":
|
30
|
+
"y": 19,
|
31
|
+
"w": 452,
|
32
|
+
"h": 202
|
34
33
|
},
|
35
34
|
{
|
36
35
|
"id": "72d3db13edc2486b",
|
@@ -46,24 +45,41 @@
|
|
46
45
|
"color": "#a4a4a4"
|
47
46
|
},
|
48
47
|
"nodes": [
|
48
|
+
"ae0583e83c762956",
|
49
49
|
"f7c7682e3a6adaaa",
|
50
50
|
"a2fb6369b16c12fa",
|
51
51
|
"8ef39e83173d41e3",
|
52
52
|
"f524b8cc35d56849",
|
53
|
-
"9fb4017c1d0ac7c9"
|
54
|
-
"a1c3526b6fa21903"
|
53
|
+
"9fb4017c1d0ac7c9"
|
55
54
|
],
|
56
55
|
"x": 34,
|
57
|
-
"y":
|
58
|
-
"w":
|
59
|
-
"h":
|
56
|
+
"y": 259,
|
57
|
+
"w": 652,
|
58
|
+
"h": 262
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"id": "f7a9604a17188737",
|
62
|
+
"type": "usertask-new-listener",
|
63
|
+
"z": "fd3c725340de4f74",
|
64
|
+
"d": true,
|
65
|
+
"g": "887f3fb69ad1d1fb",
|
66
|
+
"name": "New User Task",
|
67
|
+
"engine": "42e6796dddd9d4db",
|
68
|
+
"multisend": false,
|
69
|
+
"x": 160,
|
70
|
+
"y": 120,
|
71
|
+
"wires": [
|
72
|
+
[
|
73
|
+
"020d34cd4ab43900"
|
74
|
+
]
|
75
|
+
]
|
60
76
|
},
|
61
77
|
{
|
62
78
|
"id": "020d34cd4ab43900",
|
63
79
|
"type": "debug",
|
64
80
|
"z": "fd3c725340de4f74",
|
65
81
|
"g": "887f3fb69ad1d1fb",
|
66
|
-
"name": "
|
82
|
+
"name": "Show User Task",
|
67
83
|
"active": true,
|
68
84
|
"tosidebar": true,
|
69
85
|
"console": false,
|
@@ -72,34 +88,20 @@
|
|
72
88
|
"targetType": "msg",
|
73
89
|
"statusVal": "",
|
74
90
|
"statusType": "auto",
|
75
|
-
"x":
|
76
|
-
"y":
|
77
|
-
"wires": []
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"id": "127bc6e092c5724e",
|
81
|
-
"type": "comment",
|
82
|
-
"z": "fd3c725340de4f74",
|
83
|
-
"g": "887f3fb69ad1d1fb",
|
84
|
-
"name": "User Task Events",
|
85
|
-
"info": "",
|
86
|
-
"x": 140,
|
87
|
-
"y": 100,
|
91
|
+
"x": 360,
|
92
|
+
"y": 120,
|
88
93
|
"wires": []
|
89
94
|
},
|
90
95
|
{
|
91
|
-
"id": "
|
92
|
-
"type": "usertask-
|
96
|
+
"id": "1db0ae57c1b8486b",
|
97
|
+
"type": "usertask-finished-listener",
|
93
98
|
"z": "fd3c725340de4f74",
|
94
99
|
"g": "887f3fb69ad1d1fb",
|
95
|
-
"name": "",
|
100
|
+
"name": "Finished User Task",
|
96
101
|
"engine": "42e6796dddd9d4db",
|
97
|
-
"
|
98
|
-
"
|
99
|
-
"
|
100
|
-
"query_type": "json",
|
101
|
-
"x": 160,
|
102
|
-
"y": 160,
|
102
|
+
"multisend": false,
|
103
|
+
"x": 150,
|
104
|
+
"y": 180,
|
103
105
|
"wires": [
|
104
106
|
[
|
105
107
|
"020d34cd4ab43900"
|
@@ -107,42 +109,33 @@
|
|
107
109
|
]
|
108
110
|
},
|
109
111
|
{
|
110
|
-
"id": "
|
111
|
-
"type": "
|
112
|
+
"id": "127bc6e092c5724e",
|
113
|
+
"type": "comment",
|
112
114
|
"z": "fd3c725340de4f74",
|
113
115
|
"g": "887f3fb69ad1d1fb",
|
116
|
+
"name": "User Task Events",
|
117
|
+
"info": "",
|
118
|
+
"x": 140,
|
119
|
+
"y": 60,
|
120
|
+
"wires": []
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"id": "ae0583e83c762956",
|
124
|
+
"type": "usertask-new-listener",
|
125
|
+
"z": "fd3c725340de4f74",
|
126
|
+
"d": true,
|
127
|
+
"g": "72d3db13edc2486b",
|
114
128
|
"name": "",
|
115
129
|
"engine": "42e6796dddd9d4db",
|
116
|
-
"
|
117
|
-
"eventtype": "finished",
|
118
|
-
"query": "{}",
|
119
|
-
"query_type": "json",
|
130
|
+
"multisend": true,
|
120
131
|
"x": 160,
|
121
|
-
"y":
|
132
|
+
"y": 360,
|
122
133
|
"wires": [
|
123
134
|
[
|
124
|
-
"
|
135
|
+
"a2fb6369b16c12fa"
|
125
136
|
]
|
126
137
|
]
|
127
138
|
},
|
128
|
-
{
|
129
|
-
"id": "8d17d660fce14104",
|
130
|
-
"type": "debug",
|
131
|
-
"z": "fd3c725340de4f74",
|
132
|
-
"g": "887f3fb69ad1d1fb",
|
133
|
-
"name": "A User Task was finished",
|
134
|
-
"active": true,
|
135
|
-
"tosidebar": true,
|
136
|
-
"console": false,
|
137
|
-
"tostatus": false,
|
138
|
-
"complete": "payload",
|
139
|
-
"targetType": "msg",
|
140
|
-
"statusVal": "",
|
141
|
-
"statusType": "auto",
|
142
|
-
"x": 450,
|
143
|
-
"y": 240,
|
144
|
-
"wires": []
|
145
|
-
},
|
146
139
|
{
|
147
140
|
"id": "f7c7682e3a6adaaa",
|
148
141
|
"type": "usertask-input",
|
@@ -152,8 +145,9 @@
|
|
152
145
|
"engine": "42e6796dddd9d4db",
|
153
146
|
"query": "payload",
|
154
147
|
"query_type": "msg",
|
155
|
-
"
|
156
|
-
"
|
148
|
+
"force_send_array": false,
|
149
|
+
"multisend": false,
|
150
|
+
"x": 380,
|
157
151
|
"y": 420,
|
158
152
|
"wires": [
|
159
153
|
[
|
@@ -167,14 +161,14 @@
|
|
167
161
|
"z": "fd3c725340de4f74",
|
168
162
|
"g": "72d3db13edc2486b",
|
169
163
|
"name": "query",
|
170
|
-
"func": "msg.payload = {\n flowNodeInstanceId: msg.payload.flowNodeInstanceId,\n};\n\nreturn msg;",
|
164
|
+
"func": "msg.payload = {\n flowNodeInstanceId: msg.payload.flowNodeInstanceId,\n flowNodeId: \"user_task\"\n};\n\nreturn msg;",
|
171
165
|
"outputs": 1,
|
172
166
|
"timeout": 0,
|
173
167
|
"noerr": 0,
|
174
168
|
"initialize": "",
|
175
169
|
"finalize": "",
|
176
170
|
"libs": [],
|
177
|
-
"x":
|
171
|
+
"x": 210,
|
178
172
|
"y": 420,
|
179
173
|
"wires": [
|
180
174
|
[
|
@@ -195,8 +189,8 @@
|
|
195
189
|
"initialize": "",
|
196
190
|
"finalize": "",
|
197
191
|
"libs": [],
|
198
|
-
"x":
|
199
|
-
"y":
|
192
|
+
"x": 390,
|
193
|
+
"y": 480,
|
200
194
|
"wires": [
|
201
195
|
[
|
202
196
|
"f524b8cc35d56849"
|
@@ -212,8 +206,8 @@
|
|
212
206
|
"engine": "42e6796dddd9d4db",
|
213
207
|
"result": "payload.result",
|
214
208
|
"result_type": "msg",
|
215
|
-
"x":
|
216
|
-
"y":
|
209
|
+
"x": 580,
|
210
|
+
"y": 480,
|
217
211
|
"wires": [
|
218
212
|
[]
|
219
213
|
]
|
@@ -223,34 +217,15 @@
|
|
223
217
|
"type": "comment",
|
224
218
|
"z": "fd3c725340de4f74",
|
225
219
|
"g": "72d3db13edc2486b",
|
226
|
-
"name": "Demo to listen on a new usertask
|
220
|
+
"name": "Demo to listen on a new usertask an finish them",
|
227
221
|
"info": "",
|
228
|
-
"x":
|
229
|
-
"y":
|
222
|
+
"x": 240,
|
223
|
+
"y": 300,
|
230
224
|
"wires": []
|
231
225
|
},
|
232
|
-
{
|
233
|
-
"id": "a1c3526b6fa21903",
|
234
|
-
"type": "usertask-event-listener",
|
235
|
-
"z": "fd3c725340de4f74",
|
236
|
-
"g": "72d3db13edc2486b",
|
237
|
-
"name": "",
|
238
|
-
"engine": "42e6796dddd9d4db",
|
239
|
-
"usertask": "",
|
240
|
-
"eventtype": "new",
|
241
|
-
"query": "{}",
|
242
|
-
"query_type": "json",
|
243
|
-
"x": 160,
|
244
|
-
"y": 420,
|
245
|
-
"wires": [
|
246
|
-
[
|
247
|
-
"a2fb6369b16c12fa"
|
248
|
-
]
|
249
|
-
]
|
250
|
-
},
|
251
226
|
{
|
252
227
|
"id": "42e6796dddd9d4db",
|
253
228
|
"type": "processcube-engine-config",
|
254
229
|
"url": "http://engine:8000"
|
255
230
|
}
|
256
|
-
]
|
231
|
+
]
|
package/package.json
CHANGED
@@ -2,16 +2,40 @@
|
|
2
2
|
RED.nodes.registerType('processcube-engine-config', {
|
3
3
|
category: 'config',
|
4
4
|
defaults: {
|
5
|
-
name
|
5
|
+
name: { value: '' },
|
6
6
|
url: { value: 'http://engine:8000', required: true },
|
7
|
+
clientId: { value: '' },
|
8
|
+
clientIdType: { type: 'str' },
|
9
|
+
clientSecret: { value: '' },
|
10
|
+
clientSecretType: { type: 'str' },
|
7
11
|
},
|
8
12
|
label: function () {
|
9
13
|
return this.name || this.url;
|
10
14
|
},
|
11
|
-
|
12
|
-
clientId
|
13
|
-
|
14
|
-
|
15
|
+
oneditprepare: function () {
|
16
|
+
$('#node-config-input-clientId').typedInput({
|
17
|
+
default: 'str',
|
18
|
+
types: ['str', 'global', 'flow', 'env', 'msg', 'cred'],
|
19
|
+
});
|
20
|
+
|
21
|
+
$('#node-config-input-clientSecret').typedInput({
|
22
|
+
default: 'str',
|
23
|
+
types: ['str', 'global', 'flow', 'env', 'msg', 'cred'],
|
24
|
+
});
|
25
|
+
|
26
|
+
$('#node-config-input-clientId').typedInput('value', this.clientId);
|
27
|
+
$('#node-config-input-clientId').typedInput('type', this.clientIdType);
|
28
|
+
|
29
|
+
$('#node-config-input-clientSecret').typedInput('value', this.clientSecret);
|
30
|
+
$('#node-config-input-clientSecret').typedInput('type', this.clientSecretType);
|
31
|
+
},
|
32
|
+
oneditsave: function () {
|
33
|
+
this.clientId = $('#node-config-input-clientId').typedInput('value');
|
34
|
+
this.clientIdType = $('#node-config-input-clientId').typedInput('type');
|
35
|
+
|
36
|
+
this.clientSecret = $('#node-config-input-clientSecret').typedInput('value');
|
37
|
+
this.clientSecretType = $('#node-config-input-clientSecret').typedInput('type');
|
38
|
+
},
|
15
39
|
});
|
16
40
|
</script>
|
17
41
|
|
@@ -45,7 +69,6 @@ The configuration for the ProcessCube engine.
|
|
45
69
|
|
46
70
|
### References
|
47
71
|
|
48
|
-
-
|
49
|
-
-
|
50
|
-
|
72
|
+
- [The ProcessCube Developer Network](https://processcube.io) - All documentation for the ProcessCube© platform
|
73
|
+
- [Node-RED Integration in ProcessCube©](https://processcube.io/docs/node-red) - Node-RED integration in ProcessCube©
|
51
74
|
</script>
|
@@ -11,18 +11,21 @@ module.exports = function (RED) {
|
|
11
11
|
const identityChangedCallbacks = [];
|
12
12
|
this.url = n.url;
|
13
13
|
this.identity = null;
|
14
|
-
|
14
|
+
|
15
|
+
this.credentials.clientId = RED.util.evaluateNodeProperty(n.clientId, n.clientIdType, node);
|
16
|
+
this.credentials.clientSecret = RED.util.evaluateNodeProperty(n.clientSecret, n.clientSecretType, node);
|
17
|
+
|
15
18
|
this.registerOnIdentityChanged = function (callback) {
|
16
19
|
identityChangedCallbacks.push(callback);
|
17
20
|
};
|
18
21
|
|
19
|
-
this.isIdentityReady = function() {
|
22
|
+
this.isIdentityReady = function () {
|
20
23
|
if (this.credentials.clientId && this.credentials.clientSecret) {
|
21
24
|
return this.identity != null;
|
22
25
|
} else {
|
23
26
|
return true;
|
24
27
|
}
|
25
|
-
}
|
28
|
+
};
|
26
29
|
|
27
30
|
this.setIdentity = (identity) => {
|
28
31
|
node.log(`setIdentity: ${JSON.stringify(identity)}`);
|
@@ -50,7 +53,7 @@ module.exports = function (RED) {
|
|
50
53
|
this.credentials.clientId,
|
51
54
|
this.credentials.clientSecret,
|
52
55
|
authorityUrl,
|
53
|
-
node
|
56
|
+
node
|
54
57
|
).catch((reason) => {
|
55
58
|
console.error(reason);
|
56
59
|
node.error(reason);
|
@@ -136,7 +139,7 @@ async function startRefreshingIdentityCycle(clientId, clientSecret, authorityUrl
|
|
136
139
|
if (retries === 0) {
|
137
140
|
console.error(
|
138
141
|
'Could not refresh identity for external task worker processes. Stopping all external task workers.',
|
139
|
-
{ error }
|
142
|
+
{ error }
|
140
143
|
);
|
141
144
|
return;
|
142
145
|
}
|
@@ -16,23 +16,27 @@
|
|
16
16
|
<bpmn:userTask id="user_task" name="User Task">
|
17
17
|
<bpmn:extensionElements>
|
18
18
|
<camunda:formData>
|
19
|
-
<camunda:formField id="checkbox" label="
|
20
|
-
<camunda:formField id="
|
21
|
-
<camunda:formField id="
|
22
|
-
<camunda:formField id="
|
23
|
-
<camunda:formField id="
|
24
|
-
<camunda:formField id="
|
25
|
-
<camunda:formField id="
|
26
|
-
<camunda:formField id="
|
27
|
-
<camunda:formField id="
|
28
|
-
<camunda:formField id="
|
29
|
-
<camunda:formField id="
|
30
|
-
<camunda:formField id="
|
31
|
-
<camunda:formField id="
|
32
|
-
<camunda:formField id="
|
33
|
-
<camunda:formField id="
|
34
|
-
<camunda:formField id="
|
35
|
-
<camunda:formField id="
|
19
|
+
<camunda:formField id="checkbox" label="Checkbox" type="checkbox" customForm="{"entries":[{"key":"key","value":"value"}],"hint":"hint"}" />
|
20
|
+
<camunda:formField id="colorpicker" label="Colorpicker" type="color" defaultValue="#e32626" customForm="{"hint":"hint"}" />
|
21
|
+
<camunda:formField id="confirm" label="Confirm" type="confirm" customForm="{"confirmButtonText":"Confirm","declineButtonText":"Decline"}" />
|
22
|
+
<camunda:formField id="date" label="Date" type="date" defaultValue="2024-10-18" customForm="{"hint":"hint"}" />
|
23
|
+
<camunda:formField id="datetime" label="Datetime" type="datetime-local" defaultValue="2024-10-19T12:41" customForm="{"hint":"hint"}" />
|
24
|
+
<camunda:formField id="email" label="Email" type="email" customForm="{"hint":"hint"}" />
|
25
|
+
<camunda:formField id="header" type="header" defaultValue="Header" />
|
26
|
+
<camunda:formField id="hidden" type="hidden" defaultValue="hidden" />
|
27
|
+
<camunda:formField id="number" label="Number" type="number" customForm="{"step":1.5,"hint":"hint"}" />
|
28
|
+
<camunda:formField id="month" label="Month" type="month" defaultValue="2024-07" customForm="{"hint":"hint"}" />
|
29
|
+
<camunda:formField id="paragraph" type="paragraph" defaultValue="bla bla" />
|
30
|
+
<camunda:formField id="password" label="Pasword" type="password" customForm="{"hint":"hint"}" />
|
31
|
+
<camunda:formField id="radio" label="Radio" type="radio" customForm="{"entries":[{"key":"key","value":"value"}],"hint":"hint"}" />
|
32
|
+
<camunda:formField id="range" label="Range" type="range" defaultValue="30" customForm="{"step":0.4,"min":3,"hint":"hint"}" />
|
33
|
+
<camunda:formField id="select" label="Select" type="select" customForm="{"entries":[{"key":"key","value":"value"}],"hint":"hint"}" />
|
34
|
+
<camunda:formField id="tel" label="Tel." type="tel" customForm="{"hint":"hint"}" />
|
35
|
+
<camunda:formField id="text" label="Text" type="string" customForm="{"hint":"hint"}" />
|
36
|
+
<camunda:formField id="textarea" label="Textarea" type="textarea" defaultValue="jkljklj" customForm="{"rows":14,"hint":"hint"}" />
|
37
|
+
<camunda:formField id="time" label="Time" type="time" defaultValue="11:54" customForm="{"hint":"hint"}" />
|
38
|
+
<camunda:formField id="url" label="URL" type="url" customForm="{"hint":"hint"}" />
|
39
|
+
<camunda:formField id="week" label="Week" type="week" defaultValue="2024-W37" customForm="{"hint":"hint"}" />
|
36
40
|
</camunda:formData>
|
37
41
|
</bpmn:extensionElements>
|
38
42
|
<bpmn:incoming>Flow_142awo6</bpmn:incoming>
|
@@ -1,46 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "e0221ca7bcc43410",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "Flow 1",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "99c103764aa0dd67",
|
12
|
-
"type": "endevent-finished-listener",
|
13
|
-
"z": "e0221ca7bcc43410",
|
14
|
-
"name": "",
|
15
|
-
"engine": "4cd9b529f03e5d07",
|
16
|
-
"x": 350,
|
17
|
-
"y": 360,
|
18
|
-
"wires": [
|
19
|
-
[
|
20
|
-
"ddcbcb47a30846cc"
|
21
|
-
]
|
22
|
-
]
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"id": "ddcbcb47a30846cc",
|
26
|
-
"type": "debug",
|
27
|
-
"z": "e0221ca7bcc43410",
|
28
|
-
"name": "debug 1",
|
29
|
-
"active": true,
|
30
|
-
"tosidebar": true,
|
31
|
-
"console": false,
|
32
|
-
"tostatus": false,
|
33
|
-
"complete": "false",
|
34
|
-
"statusVal": "",
|
35
|
-
"statusType": "auto",
|
36
|
-
"x": 680,
|
37
|
-
"y": 360,
|
38
|
-
"wires": []
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"id": "4cd9b529f03e5d07",
|
42
|
-
"type": "processcube-engine-config",
|
43
|
-
"name": "",
|
44
|
-
"url": "http://engine:8000"
|
45
|
-
}
|
46
|
-
]
|
@@ -1,48 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "e0221ca7bcc43410",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "Flow 1",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "ddcbcb47a30846cc",
|
12
|
-
"type": "debug",
|
13
|
-
"z": "e0221ca7bcc43410",
|
14
|
-
"name": "debug 1",
|
15
|
-
"active": true,
|
16
|
-
"tosidebar": true,
|
17
|
-
"console": false,
|
18
|
-
"tostatus": false,
|
19
|
-
"complete": "false",
|
20
|
-
"statusVal": "",
|
21
|
-
"statusType": "auto",
|
22
|
-
"x": 680,
|
23
|
-
"y": 360,
|
24
|
-
"wires": []
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"id": "bdafbeab35606a9f",
|
28
|
-
"type": "externaltask-event-listener",
|
29
|
-
"z": "e0221ca7bcc43410",
|
30
|
-
"name": "",
|
31
|
-
"engine": "4cd9b529f03e5d07",
|
32
|
-
"externaltask": "",
|
33
|
-
"eventtype": "created",
|
34
|
-
"x": 350,
|
35
|
-
"y": 360,
|
36
|
-
"wires": [
|
37
|
-
[
|
38
|
-
"ddcbcb47a30846cc"
|
39
|
-
]
|
40
|
-
]
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"id": "4cd9b529f03e5d07",
|
44
|
-
"type": "processcube-engine-config",
|
45
|
-
"name": "",
|
46
|
-
"url": "http://engine:8000"
|
47
|
-
}
|
48
|
-
]
|
@@ -1,47 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "e0221ca7bcc43410",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "Flow 1",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "ddcbcb47a30846cc",
|
12
|
-
"type": "debug",
|
13
|
-
"z": "e0221ca7bcc43410",
|
14
|
-
"name": "debug 1",
|
15
|
-
"active": true,
|
16
|
-
"tosidebar": true,
|
17
|
-
"console": false,
|
18
|
-
"tostatus": false,
|
19
|
-
"complete": "false",
|
20
|
-
"statusVal": "",
|
21
|
-
"statusType": "auto",
|
22
|
-
"x": 680,
|
23
|
-
"y": 360,
|
24
|
-
"wires": []
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"id": "4e6b50755428220b",
|
28
|
-
"type": "message-event-trigger",
|
29
|
-
"z": "e0221ca7bcc43410",
|
30
|
-
"name": "",
|
31
|
-
"engine": "4cd9b529f03e5d07",
|
32
|
-
"messagename": "My-Message-Event",
|
33
|
-
"x": 360,
|
34
|
-
"y": 360,
|
35
|
-
"wires": [
|
36
|
-
[
|
37
|
-
"ddcbcb47a30846cc"
|
38
|
-
]
|
39
|
-
]
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"id": "4cd9b529f03e5d07",
|
43
|
-
"type": "processcube-engine-config",
|
44
|
-
"name": "",
|
45
|
-
"url": "http://engine:8000"
|
46
|
-
}
|
47
|
-
]
|
@@ -1,50 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "e0221ca7bcc43410",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "Flow 1",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "ddcbcb47a30846cc",
|
12
|
-
"type": "debug",
|
13
|
-
"z": "e0221ca7bcc43410",
|
14
|
-
"name": "debug 1",
|
15
|
-
"active": true,
|
16
|
-
"tosidebar": true,
|
17
|
-
"console": false,
|
18
|
-
"tostatus": false,
|
19
|
-
"complete": "false",
|
20
|
-
"statusVal": "",
|
21
|
-
"statusType": "auto",
|
22
|
-
"x": 680,
|
23
|
-
"y": 360,
|
24
|
-
"wires": []
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"id": "8abe2d1336341797",
|
28
|
-
"type": "process-event-listener",
|
29
|
-
"z": "e0221ca7bcc43410",
|
30
|
-
"name": "",
|
31
|
-
"engine": "4cd9b529f03e5d07",
|
32
|
-
"processmodel": "",
|
33
|
-
"eventtype": "started",
|
34
|
-
"query": "{}",
|
35
|
-
"query_type": "json",
|
36
|
-
"x": 360,
|
37
|
-
"y": 360,
|
38
|
-
"wires": [
|
39
|
-
[
|
40
|
-
"ddcbcb47a30846cc"
|
41
|
-
]
|
42
|
-
]
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"id": "4cd9b529f03e5d07",
|
46
|
-
"type": "processcube-engine-config",
|
47
|
-
"name": "",
|
48
|
-
"url": "http://engine:8000"
|
49
|
-
}
|
50
|
-
]
|
@@ -1,48 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "e0221ca7bcc43410",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "Flow 1",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "ddcbcb47a30846cc",
|
12
|
-
"type": "debug",
|
13
|
-
"z": "e0221ca7bcc43410",
|
14
|
-
"name": "debug 1",
|
15
|
-
"active": true,
|
16
|
-
"tosidebar": true,
|
17
|
-
"console": false,
|
18
|
-
"tostatus": false,
|
19
|
-
"complete": "false",
|
20
|
-
"statusVal": "",
|
21
|
-
"statusType": "auto",
|
22
|
-
"x": 680,
|
23
|
-
"y": 360,
|
24
|
-
"wires": []
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"id": "f028b3204b89f89f",
|
28
|
-
"type": "process-start",
|
29
|
-
"z": "e0221ca7bcc43410",
|
30
|
-
"name": "",
|
31
|
-
"engine": "4cd9b529f03e5d07",
|
32
|
-
"processmodel": "My_Process",
|
33
|
-
"startevent": "StartEvent_1",
|
34
|
-
"x": 390,
|
35
|
-
"y": 360,
|
36
|
-
"wires": [
|
37
|
-
[
|
38
|
-
"ddcbcb47a30846cc"
|
39
|
-
]
|
40
|
-
]
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"id": "4cd9b529f03e5d07",
|
44
|
-
"type": "processcube-engine-config",
|
45
|
-
"name": "",
|
46
|
-
"url": "http://engine:8000"
|
47
|
-
}
|
48
|
-
]
|
@@ -1,75 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "e0221ca7bcc43410",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "Flow 1",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "ddcbcb47a30846cc",
|
12
|
-
"type": "debug",
|
13
|
-
"z": "e0221ca7bcc43410",
|
14
|
-
"name": "debug 1",
|
15
|
-
"active": true,
|
16
|
-
"tosidebar": true,
|
17
|
-
"console": false,
|
18
|
-
"tostatus": false,
|
19
|
-
"complete": "false",
|
20
|
-
"statusVal": "",
|
21
|
-
"statusType": "auto",
|
22
|
-
"x": 820,
|
23
|
-
"y": 360,
|
24
|
-
"wires": []
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"id": "7bf175249a1e4191",
|
28
|
-
"type": "process-terminate",
|
29
|
-
"z": "e0221ca7bcc43410",
|
30
|
-
"name": "",
|
31
|
-
"engine": "4cd9b529f03e5d07",
|
32
|
-
"x": 570,
|
33
|
-
"y": 360,
|
34
|
-
"wires": [
|
35
|
-
[
|
36
|
-
"ddcbcb47a30846cc"
|
37
|
-
]
|
38
|
-
]
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"id": "0a92212597eeb5b8",
|
42
|
-
"type": "inject",
|
43
|
-
"z": "e0221ca7bcc43410",
|
44
|
-
"name": "",
|
45
|
-
"props": [
|
46
|
-
{
|
47
|
-
"p": "payload"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"p": "topic",
|
51
|
-
"vt": "str"
|
52
|
-
}
|
53
|
-
],
|
54
|
-
"repeat": "",
|
55
|
-
"crontab": "",
|
56
|
-
"once": false,
|
57
|
-
"onceDelay": 0.1,
|
58
|
-
"topic": "",
|
59
|
-
"payload": "TheProcessInstanceIdGoesHere",
|
60
|
-
"payloadType": "str",
|
61
|
-
"x": 310,
|
62
|
-
"y": 360,
|
63
|
-
"wires": [
|
64
|
-
[
|
65
|
-
"7bf175249a1e4191"
|
66
|
-
]
|
67
|
-
]
|
68
|
-
},
|
69
|
-
{
|
70
|
-
"id": "4cd9b529f03e5d07",
|
71
|
-
"type": "processcube-engine-config",
|
72
|
-
"name": "",
|
73
|
-
"url": "http://engine:8000"
|
74
|
-
}
|
75
|
-
]
|
@@ -1,47 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "e0221ca7bcc43410",
|
4
|
-
"type": "tab",
|
5
|
-
"label": "Flow 1",
|
6
|
-
"disabled": false,
|
7
|
-
"info": "",
|
8
|
-
"env": []
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "ddcbcb47a30846cc",
|
12
|
-
"type": "debug",
|
13
|
-
"z": "e0221ca7bcc43410",
|
14
|
-
"name": "debug 1",
|
15
|
-
"active": true,
|
16
|
-
"tosidebar": true,
|
17
|
-
"console": false,
|
18
|
-
"tostatus": false,
|
19
|
-
"complete": "false",
|
20
|
-
"statusVal": "",
|
21
|
-
"statusType": "auto",
|
22
|
-
"x": 680,
|
23
|
-
"y": 360,
|
24
|
-
"wires": []
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"id": "ad5b5c56dc748337",
|
28
|
-
"type": "signal-event-trigger",
|
29
|
-
"z": "e0221ca7bcc43410",
|
30
|
-
"name": "",
|
31
|
-
"engine": "4cd9b529f03e5d07",
|
32
|
-
"signalname": "My_Event",
|
33
|
-
"x": 370,
|
34
|
-
"y": 360,
|
35
|
-
"wires": [
|
36
|
-
[
|
37
|
-
"ddcbcb47a30846cc"
|
38
|
-
]
|
39
|
-
]
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"id": "4cd9b529f03e5d07",
|
43
|
-
"type": "processcube-engine-config",
|
44
|
-
"name": "",
|
45
|
-
"url": "http://engine:8000"
|
46
|
-
}
|
47
|
-
]
|