@5minds/node-red-contrib-processcube 0.3.3-feature-cefc25-lx7iaahd → 0.3.5-feature-65fd58-lx819m2o

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.
Files changed (30) hide show
  1. package/docker-compose.yml +6 -6
  2. package/nodered/node-red-contrib-processcube-flows.json +1097 -0
  3. package/nodered/sample_fields.json +159 -0
  4. package/package.json +1 -1
  5. package/.node-red/data/.config.nodes.json +0 -692
  6. package/.node-red/data/.config.nodes.json.backup +0 -681
  7. package/.node-red/data/.config.runtime.json +0 -4
  8. package/.node-red/data/.config.runtime.json.backup +0 -3
  9. package/.node-red/data/.config.users.json +0 -22
  10. package/.node-red/data/.config.users.json.backup +0 -22
  11. package/.node-red/data/package-lock.json +0 -19
  12. package/.node-red/data/package.json +0 -6
  13. package/.node-red/data/settings.js +0 -560
  14. package/.node-red/data/uibuilder/.config/sioMiddleware.js-template +0 -53
  15. package/.node-red/data/uibuilder/.config/sioMsgOut.js-template +0 -22
  16. package/.node-red/data/uibuilder/.config/sioUse.js-template +0 -43
  17. package/.node-red/data/uibuilder/.config/uibMiddleware.js-template +0 -26
  18. package/.node-red/data/uibuilder/common/images/node-blue.ico +0 -0
  19. package/.node-red/data/uibuilder/package.json +0 -15
  20. package/.node-red/data/uibuilder/package.json.bak +0 -15
  21. package/.node-red/data/uibuilder/usertasks/.eslintrc.js +0 -80
  22. package/.node-red/data/uibuilder/usertasks/LICENSE +0 -178
  23. package/.node-red/data/uibuilder/usertasks/README.md +0 -57
  24. package/.node-red/data/uibuilder/usertasks/api/.keep +0 -0
  25. package/.node-red/data/uibuilder/usertasks/package.json +0 -26
  26. package/.node-red/data/uibuilder/usertasks/routes/.keep +0 -0
  27. package/.node-red/data/uibuilder/usertasks/src/index.css +0 -7
  28. package/.node-red/data/uibuilder/usertasks/src/index.html +0 -26
  29. package/.node-red/data/uibuilder/usertasks/src/index.js +0 -8
  30. /package/{.node-red/data/flows.json → nodered/.node-red-contrib-processcube-flows.json.backup} +0 -0
@@ -0,0 +1,1097 @@
1
+ [
2
+ {
3
+ "id": "a23d2e782beb66f4",
4
+ "type": "tab",
5
+ "label": "Flow 1",
6
+ "disabled": false,
7
+ "info": "",
8
+ "env": []
9
+ },
10
+ {
11
+ "id": "fd3c725340de4f74",
12
+ "type": "tab",
13
+ "label": "Flow 2",
14
+ "disabled": false,
15
+ "info": "",
16
+ "env": []
17
+ },
18
+ {
19
+ "id": "d042a4c68f51d6ab",
20
+ "type": "processcube-engine-config",
21
+ "url": "http://engine:8000"
22
+ },
23
+ {
24
+ "id": "84f18cf9bf25b858",
25
+ "type": "openApi-red",
26
+ "z": "a23d2e782beb66f4",
27
+ "name": "Engine",
28
+ "openApiUrl": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger",
29
+ "configUrlNode": "",
30
+ "api": "ExternalTasks",
31
+ "server": "",
32
+ "keepAuth": false,
33
+ "alternServer": false,
34
+ "operation": "get/external_tasks/deployed_topics",
35
+ "operationData": {
36
+ "description": "Fetches a list of all ExternalTask topics from all deployed Process Models.",
37
+ "tags": [
38
+ "ExternalTasks"
39
+ ],
40
+ "responses": {
41
+ "200": {
42
+ "description": "A list of all ExternalTask topics from all deployed Process Models.",
43
+ "content": {
44
+ "application/json": {
45
+ "schema": {
46
+ "description": "A list of all ExternalTask topics from all deployed Process Models.",
47
+ "type": "array",
48
+ "items": {
49
+ "type": "string"
50
+ },
51
+ "example": [
52
+ "myTopic",
53
+ "myOtherTopic",
54
+ "myThirdTopic",
55
+ "myFourthTopic"
56
+ ]
57
+ }
58
+ }
59
+ }
60
+ }
61
+ },
62
+ "security": [
63
+ {
64
+ "bearerAuth": []
65
+ }
66
+ ],
67
+ "operationId": "get/external_tasks/deployed_topics",
68
+ "withoutOriginalOpId": true,
69
+ "pathName": "/external_tasks/deployed_topics",
70
+ "method": "get",
71
+ "path": "/external_tasks/deployed_topics"
72
+ },
73
+ "errorHandling": "throw exception",
74
+ "internalErrors": {
75
+ "readUrl": false,
76
+ "parameters": false
77
+ },
78
+ "parameters": [],
79
+ "requestContentType": "application/json",
80
+ "responseContentType": "application/json",
81
+ "showDescription": true,
82
+ "devMode": false,
83
+ "outputs": 1,
84
+ "_version": "1.2.5",
85
+ "x": 310,
86
+ "y": 360,
87
+ "wires": [
88
+ [
89
+ "ee2e9eb1d613da90"
90
+ ]
91
+ ]
92
+ },
93
+ {
94
+ "id": "ee2e9eb1d613da90",
95
+ "type": "debug",
96
+ "z": "a23d2e782beb66f4",
97
+ "name": "debug 2",
98
+ "active": true,
99
+ "tosidebar": true,
100
+ "console": false,
101
+ "tostatus": false,
102
+ "complete": "false",
103
+ "statusVal": "",
104
+ "statusType": "auto",
105
+ "x": 500,
106
+ "y": 360,
107
+ "wires": []
108
+ },
109
+ {
110
+ "id": "2d115b489271921f",
111
+ "type": "inject",
112
+ "z": "a23d2e782beb66f4",
113
+ "name": "",
114
+ "props": [
115
+ {
116
+ "p": "payload"
117
+ },
118
+ {
119
+ "p": "topic",
120
+ "vt": "str"
121
+ },
122
+ {
123
+ "p": "openApiToken",
124
+ "v": "ZHVtbXlfdG9rZW4=",
125
+ "vt": "str"
126
+ }
127
+ ],
128
+ "repeat": "",
129
+ "crontab": "",
130
+ "once": false,
131
+ "onceDelay": 0.1,
132
+ "topic": "",
133
+ "payload": "go",
134
+ "payloadType": "str",
135
+ "x": 90,
136
+ "y": 360,
137
+ "wires": [
138
+ [
139
+ "84f18cf9bf25b858"
140
+ ]
141
+ ]
142
+ },
143
+ {
144
+ "id": "4c80d7de3e3b9e51",
145
+ "type": "externaltask-input",
146
+ "z": "a23d2e782beb66f4",
147
+ "name": "processmodels",
148
+ "engine": "d042a4c68f51d6ab",
149
+ "topic": "processmodels",
150
+ "x": 100,
151
+ "y": 460,
152
+ "wires": [
153
+ [
154
+ "548bec9dd5260598"
155
+ ]
156
+ ]
157
+ },
158
+ {
159
+ "id": "c2acc73b60c2efc6",
160
+ "type": "externaltask-output",
161
+ "z": "a23d2e782beb66f4",
162
+ "name": "processmodels end",
163
+ "x": 970,
164
+ "y": 460,
165
+ "wires": []
166
+ },
167
+ {
168
+ "id": "f0e993037904bc90",
169
+ "type": "function",
170
+ "z": "a23d2e782beb66f4",
171
+ "name": "set access token",
172
+ "func": "msg.openApiToken = \"ZHVtbXlfdG9rZW4=\";\n\nreturn msg;",
173
+ "outputs": 1,
174
+ "timeout": 0,
175
+ "noerr": 0,
176
+ "initialize": "",
177
+ "finalize": "",
178
+ "libs": [],
179
+ "x": 490,
180
+ "y": 460,
181
+ "wires": [
182
+ [
183
+ "8ddbc0d73cec1cdc",
184
+ "3b1997a0ca78f819"
185
+ ]
186
+ ]
187
+ },
188
+ {
189
+ "id": "8ddbc0d73cec1cdc",
190
+ "type": "openApi-red",
191
+ "z": "a23d2e782beb66f4",
192
+ "name": "",
193
+ "openApiUrl": "http://engine:8000/atlas_engine/api/v1/swagger",
194
+ "configUrlNode": "",
195
+ "api": "ProcessModels",
196
+ "server": "",
197
+ "keepAuth": false,
198
+ "alternServer": false,
199
+ "operation": "get/process_models",
200
+ "operationData": {
201
+ "description": "Gets all currently deployed Process Models.",
202
+ "tags": [
203
+ "ProcessModels"
204
+ ],
205
+ "responses": {
206
+ "200": {
207
+ "content": {
208
+ "application/json": {
209
+ "schema": {
210
+ "description": "A list of ProcessModels.",
211
+ "type": "object",
212
+ "required": [
213
+ "processModels",
214
+ "totalCount"
215
+ ],
216
+ "properties": {
217
+ "processModels": {
218
+ "description": "The ProcessModels.",
219
+ "type": "array",
220
+ "items": {
221
+ "description": "A ProcessModel.",
222
+ "type": "object",
223
+ "required": [
224
+ "processDefinitionId",
225
+ "processModelId",
226
+ "isExecutable",
227
+ "startEvents",
228
+ "endEvents",
229
+ "flowNodes"
230
+ ],
231
+ "properties": {
232
+ "processDefinitionId": {
233
+ "description": "The ID of the ProcessDefinition that contains the ProcessModel.",
234
+ "type": "string"
235
+ },
236
+ "processModelId": {
237
+ "description": "The ID of the ProcessModel.",
238
+ "type": "string"
239
+ },
240
+ "processModelName": {
241
+ "description": "The name of the ProcessModel.",
242
+ "type": "string"
243
+ },
244
+ "version": {
245
+ "description": "The version of the ProcessModel.",
246
+ "type": "string"
247
+ },
248
+ "isExecutable": {
249
+ "description": "A flag indicating whether the ProcessModel can be started.",
250
+ "type": "boolean"
251
+ },
252
+ "startEvents": {
253
+ "description": "The StartEvents contained in the ProcessModel.",
254
+ "type": "array",
255
+ "items": {
256
+ "description": "A StartEvent.",
257
+ "type": "object",
258
+ "required": [
259
+ "id",
260
+ "customProperties",
261
+ "processModelId"
262
+ ],
263
+ "properties": {
264
+ "id": {
265
+ "type": "string",
266
+ "description": "The ID of the BaseElement."
267
+ },
268
+ "customProperties": {
269
+ "type": "object",
270
+ "description": "The custom properties of the BaseElement.",
271
+ "additionalProperties": {
272
+ "type": "string"
273
+ }
274
+ },
275
+ "documentation": {
276
+ "type": "array",
277
+ "description": "The documentation of the BaseElement.",
278
+ "items": {
279
+ "type": "string"
280
+ }
281
+ },
282
+ "processModelId": {
283
+ "type": "string",
284
+ "description": "The ID of the ProcessModel that contains the BaseElement."
285
+ },
286
+ "processModelName": {
287
+ "type": "string",
288
+ "description": "The name of the ProcessModel that contains the BaseElement."
289
+ },
290
+ "name": {
291
+ "description": "The name of the FlowNode.",
292
+ "type": "string"
293
+ },
294
+ "flowNodeType": {
295
+ "description": "The type of a BPMN element.",
296
+ "type": "string",
297
+ "enum": [
298
+ "bpmn:Task",
299
+ "bpmn:BusinessRuleTask",
300
+ "bpmn:UserTask",
301
+ "bpmn:ExclusiveGateway",
302
+ "bpmn:ParallelGateway",
303
+ "bpmn:ServiceTask",
304
+ "bpmn:StartEvent",
305
+ "bpmn:EndEvent",
306
+ "bpmn:IntermediateCatchEvent",
307
+ "bpmn:IntermediateThrowEvent",
308
+ "bpmn:ScriptTask",
309
+ "bpmn:BoundaryEvent",
310
+ "bpmn:CallActivity",
311
+ "bpmn:SubProcess",
312
+ "bpmn:ManualTask",
313
+ "bpmn:ComplexGateway",
314
+ "bpmn:InclusiveGateway",
315
+ "bpmn:EventBasedGateway",
316
+ "bpmn:SendTask",
317
+ "bpmn:ReceiveTask"
318
+ ],
319
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
320
+ },
321
+ "timerType": {
322
+ "description": "The type of the timer.",
323
+ "type": "string"
324
+ },
325
+ "timerValue": {
326
+ "description": "The value of the timer.",
327
+ "type": "string"
328
+ }
329
+ },
330
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/StartEventViewModel"
331
+ }
332
+ },
333
+ "endEvents": {
334
+ "description": "The EndEvents contained in the ProcessModel.",
335
+ "type": "array",
336
+ "items": {
337
+ "description": "An EndEvent.",
338
+ "type": "object",
339
+ "required": [
340
+ "id",
341
+ "customProperties",
342
+ "processModelId"
343
+ ],
344
+ "properties": {
345
+ "id": {
346
+ "type": "string",
347
+ "description": "The ID of the BaseElement."
348
+ },
349
+ "customProperties": {
350
+ "type": "object",
351
+ "description": "The custom properties of the BaseElement.",
352
+ "additionalProperties": {
353
+ "type": "string"
354
+ }
355
+ },
356
+ "documentation": {
357
+ "type": "array",
358
+ "description": "The documentation of the BaseElement.",
359
+ "items": {
360
+ "type": "string"
361
+ }
362
+ },
363
+ "processModelId": {
364
+ "type": "string",
365
+ "description": "The ID of the ProcessModel that contains the BaseElement."
366
+ },
367
+ "processModelName": {
368
+ "type": "string",
369
+ "description": "The name of the ProcessModel that contains the BaseElement."
370
+ },
371
+ "name": {
372
+ "description": "The name of the FlowNode.",
373
+ "type": "string"
374
+ },
375
+ "flowNodeType": {
376
+ "description": "The type of a BPMN element.",
377
+ "type": "string",
378
+ "enum": [
379
+ "bpmn:Task",
380
+ "bpmn:BusinessRuleTask",
381
+ "bpmn:UserTask",
382
+ "bpmn:ExclusiveGateway",
383
+ "bpmn:ParallelGateway",
384
+ "bpmn:ServiceTask",
385
+ "bpmn:StartEvent",
386
+ "bpmn:EndEvent",
387
+ "bpmn:IntermediateCatchEvent",
388
+ "bpmn:IntermediateThrowEvent",
389
+ "bpmn:ScriptTask",
390
+ "bpmn:BoundaryEvent",
391
+ "bpmn:CallActivity",
392
+ "bpmn:SubProcess",
393
+ "bpmn:ManualTask",
394
+ "bpmn:ComplexGateway",
395
+ "bpmn:InclusiveGateway",
396
+ "bpmn:EventBasedGateway",
397
+ "bpmn:SendTask",
398
+ "bpmn:ReceiveTask"
399
+ ],
400
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
401
+ },
402
+ "errorName": {
403
+ "description": "The name of the error.",
404
+ "type": "string"
405
+ },
406
+ "errorCode": {
407
+ "description": "The code of the error.",
408
+ "type": "string"
409
+ },
410
+ "errorMessage": {
411
+ "description": "The message of the error.",
412
+ "type": "string"
413
+ }
414
+ },
415
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/EndEventViewModel"
416
+ }
417
+ },
418
+ "flowNodes": {
419
+ "description": "The FlowNodes contained in the ProcessModel.",
420
+ "type": "array",
421
+ "items": {
422
+ "description": "A FlowNode.",
423
+ "type": "object",
424
+ "required": [
425
+ "id",
426
+ "customProperties",
427
+ "processModelId"
428
+ ],
429
+ "properties": {
430
+ "id": {
431
+ "type": "string",
432
+ "description": "The ID of the BaseElement."
433
+ },
434
+ "customProperties": {
435
+ "type": "object",
436
+ "description": "The custom properties of the BaseElement.",
437
+ "additionalProperties": {
438
+ "type": "string"
439
+ }
440
+ },
441
+ "documentation": {
442
+ "type": "array",
443
+ "description": "The documentation of the BaseElement.",
444
+ "items": {
445
+ "type": "string"
446
+ }
447
+ },
448
+ "processModelId": {
449
+ "type": "string",
450
+ "description": "The ID of the ProcessModel that contains the BaseElement."
451
+ },
452
+ "processModelName": {
453
+ "type": "string",
454
+ "description": "The name of the ProcessModel that contains the BaseElement."
455
+ },
456
+ "name": {
457
+ "description": "The name of the FlowNode.",
458
+ "type": "string"
459
+ },
460
+ "flowNodeType": {
461
+ "description": "The type of a BPMN element.",
462
+ "type": "string",
463
+ "enum": [
464
+ "bpmn:Task",
465
+ "bpmn:BusinessRuleTask",
466
+ "bpmn:UserTask",
467
+ "bpmn:ExclusiveGateway",
468
+ "bpmn:ParallelGateway",
469
+ "bpmn:ServiceTask",
470
+ "bpmn:StartEvent",
471
+ "bpmn:EndEvent",
472
+ "bpmn:IntermediateCatchEvent",
473
+ "bpmn:IntermediateThrowEvent",
474
+ "bpmn:ScriptTask",
475
+ "bpmn:BoundaryEvent",
476
+ "bpmn:CallActivity",
477
+ "bpmn:SubProcess",
478
+ "bpmn:ManualTask",
479
+ "bpmn:ComplexGateway",
480
+ "bpmn:InclusiveGateway",
481
+ "bpmn:EventBasedGateway",
482
+ "bpmn:SendTask",
483
+ "bpmn:ReceiveTask"
484
+ ],
485
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/BpmnType"
486
+ }
487
+ },
488
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/FlowNodeViewModel"
489
+ }
490
+ }
491
+ },
492
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/ProcessModel"
493
+ }
494
+ },
495
+ "totalCount": {
496
+ "description": "The total number of ProcessModels.",
497
+ "type": "number"
498
+ }
499
+ },
500
+ "$$ref": "http://192.168.178.145:56100/atlas_engine/api/v1/swagger#/components/schemas/ProcessModelList"
501
+ }
502
+ }
503
+ }
504
+ }
505
+ },
506
+ "security": [
507
+ {
508
+ "bearerAuth": []
509
+ }
510
+ ],
511
+ "operationId": "get/process_models",
512
+ "withoutOriginalOpId": true,
513
+ "pathName": "/process_models",
514
+ "method": "get",
515
+ "path": "/process_models"
516
+ },
517
+ "errorHandling": "throw exception",
518
+ "internalErrors": {
519
+ "readUrl": false
520
+ },
521
+ "parameters": [],
522
+ "requestContentType": "application/json",
523
+ "responseContentType": "application/json",
524
+ "showDescription": true,
525
+ "devMode": false,
526
+ "outputs": 1,
527
+ "_version": "1.2.5",
528
+ "x": 720,
529
+ "y": 460,
530
+ "wires": [
531
+ [
532
+ "c2acc73b60c2efc6",
533
+ "5027f959a5839630",
534
+ "c5a5fd3f9c76acf6"
535
+ ]
536
+ ]
537
+ },
538
+ {
539
+ "id": "3b1997a0ca78f819",
540
+ "type": "debug",
541
+ "z": "a23d2e782beb66f4",
542
+ "name": "debug 3",
543
+ "active": true,
544
+ "tosidebar": true,
545
+ "console": false,
546
+ "tostatus": false,
547
+ "complete": "payload",
548
+ "targetType": "msg",
549
+ "statusVal": "",
550
+ "statusType": "auto",
551
+ "x": 680,
552
+ "y": 540,
553
+ "wires": []
554
+ },
555
+ {
556
+ "id": "5027f959a5839630",
557
+ "type": "debug",
558
+ "z": "a23d2e782beb66f4",
559
+ "name": "debug 4",
560
+ "active": true,
561
+ "tosidebar": true,
562
+ "console": false,
563
+ "tostatus": false,
564
+ "complete": "false",
565
+ "statusVal": "",
566
+ "statusType": "auto",
567
+ "x": 900,
568
+ "y": 540,
569
+ "wires": []
570
+ },
571
+ {
572
+ "id": "548bec9dd5260598",
573
+ "type": "delay",
574
+ "z": "a23d2e782beb66f4",
575
+ "name": "",
576
+ "pauseType": "delay",
577
+ "timeout": "1",
578
+ "timeoutUnits": "seconds",
579
+ "rate": "1",
580
+ "nbRateUnits": "1",
581
+ "rateUnits": "second",
582
+ "randomFirst": "1",
583
+ "randomLast": "5",
584
+ "randomUnits": "seconds",
585
+ "drop": false,
586
+ "allowrate": false,
587
+ "outputs": 1,
588
+ "x": 300,
589
+ "y": 460,
590
+ "wires": [
591
+ [
592
+ "f0e993037904bc90"
593
+ ]
594
+ ]
595
+ },
596
+ {
597
+ "id": "2991a5e6df2b87d2",
598
+ "type": "externaltask-input",
599
+ "z": "a23d2e782beb66f4",
600
+ "name": "Test",
601
+ "engine": "d042a4c68f51d6ab",
602
+ "topic": "Test",
603
+ "x": 90,
604
+ "y": 600,
605
+ "wires": [
606
+ [
607
+ "d56bb7cd73fd220c",
608
+ "75c7bb5cc34e354a"
609
+ ]
610
+ ]
611
+ },
612
+ {
613
+ "id": "911fde53bcbb7e3f",
614
+ "type": "externaltask-output",
615
+ "z": "a23d2e782beb66f4",
616
+ "name": "Test Ende",
617
+ "x": 500,
618
+ "y": 600,
619
+ "wires": []
620
+ },
621
+ {
622
+ "id": "d56bb7cd73fd220c",
623
+ "type": "delay",
624
+ "z": "a23d2e782beb66f4",
625
+ "name": "",
626
+ "pauseType": "delay",
627
+ "timeout": "1",
628
+ "timeoutUnits": "seconds",
629
+ "rate": "1",
630
+ "nbRateUnits": "1",
631
+ "rateUnits": "second",
632
+ "randomFirst": "1",
633
+ "randomLast": "5",
634
+ "randomUnits": "seconds",
635
+ "drop": false,
636
+ "allowrate": false,
637
+ "outputs": 1,
638
+ "x": 280,
639
+ "y": 600,
640
+ "wires": [
641
+ [
642
+ "911fde53bcbb7e3f",
643
+ "69aec57d8bb00292"
644
+ ]
645
+ ]
646
+ },
647
+ {
648
+ "id": "75c7bb5cc34e354a",
649
+ "type": "debug",
650
+ "z": "a23d2e782beb66f4",
651
+ "name": "debug 1",
652
+ "active": true,
653
+ "tosidebar": true,
654
+ "console": false,
655
+ "tostatus": false,
656
+ "complete": "false",
657
+ "statusVal": "",
658
+ "statusType": "auto",
659
+ "x": 260,
660
+ "y": 680,
661
+ "wires": []
662
+ },
663
+ {
664
+ "id": "c5a5fd3f9c76acf6",
665
+ "type": "debug",
666
+ "z": "a23d2e782beb66f4",
667
+ "name": "debug 5",
668
+ "active": true,
669
+ "tosidebar": true,
670
+ "console": false,
671
+ "tostatus": false,
672
+ "complete": "externalTaskId",
673
+ "targetType": "msg",
674
+ "statusVal": "",
675
+ "statusType": "auto",
676
+ "x": 900,
677
+ "y": 620,
678
+ "wires": []
679
+ },
680
+ {
681
+ "id": "69aec57d8bb00292",
682
+ "type": "debug",
683
+ "z": "a23d2e782beb66f4",
684
+ "name": "debug 6",
685
+ "active": true,
686
+ "tosidebar": true,
687
+ "console": false,
688
+ "tostatus": false,
689
+ "complete": "externalTaskId",
690
+ "targetType": "msg",
691
+ "statusVal": "",
692
+ "statusType": "auto",
693
+ "x": 480,
694
+ "y": 680,
695
+ "wires": []
696
+ },
697
+ {
698
+ "id": "fe0eb72aeb3ebbc2",
699
+ "type": "process-start",
700
+ "z": "a23d2e782beb66f4",
701
+ "name": "start Process \"Hello world\"",
702
+ "engine": "d042a4c68f51d6ab",
703
+ "processmodel": "HelloWorld_Process",
704
+ "startevent": "StartEvent_1",
705
+ "x": 500,
706
+ "y": 120,
707
+ "wires": [
708
+ [
709
+ "1686330823da3f45"
710
+ ]
711
+ ]
712
+ },
713
+ {
714
+ "id": "64f430c40bc1f75b",
715
+ "type": "http in",
716
+ "z": "a23d2e782beb66f4",
717
+ "name": "",
718
+ "url": "/start_process",
719
+ "method": "post",
720
+ "upload": false,
721
+ "swaggerDoc": "",
722
+ "x": 150,
723
+ "y": 120,
724
+ "wires": [
725
+ [
726
+ "54731bdfca83ceda",
727
+ "fe0eb72aeb3ebbc2"
728
+ ]
729
+ ]
730
+ },
731
+ {
732
+ "id": "54731bdfca83ceda",
733
+ "type": "debug",
734
+ "z": "a23d2e782beb66f4",
735
+ "name": "debug 7",
736
+ "active": true,
737
+ "tosidebar": true,
738
+ "console": false,
739
+ "tostatus": false,
740
+ "complete": "false",
741
+ "statusVal": "",
742
+ "statusType": "auto",
743
+ "x": 380,
744
+ "y": 180,
745
+ "wires": []
746
+ },
747
+ {
748
+ "id": "1686330823da3f45",
749
+ "type": "http response",
750
+ "z": "a23d2e782beb66f4",
751
+ "name": "",
752
+ "statusCode": "200",
753
+ "headers": {},
754
+ "x": 760,
755
+ "y": 120,
756
+ "wires": []
757
+ },
758
+ {
759
+ "id": "18e05d562d48f32d",
760
+ "type": "externaltask-input",
761
+ "z": "a23d2e782beb66f4",
762
+ "name": "SampleError",
763
+ "engine": "d042a4c68f51d6ab",
764
+ "topic": "SampleError",
765
+ "x": 110,
766
+ "y": 840,
767
+ "wires": [
768
+ [
769
+ "49aee03a7885fae8"
770
+ ]
771
+ ]
772
+ },
773
+ {
774
+ "id": "49aee03a7885fae8",
775
+ "type": "delay",
776
+ "z": "a23d2e782beb66f4",
777
+ "name": "",
778
+ "pauseType": "delay",
779
+ "timeout": "5",
780
+ "timeoutUnits": "seconds",
781
+ "rate": "1",
782
+ "nbRateUnits": "1",
783
+ "rateUnits": "second",
784
+ "randomFirst": "1",
785
+ "randomLast": "5",
786
+ "randomUnits": "seconds",
787
+ "drop": false,
788
+ "allowrate": false,
789
+ "outputs": 1,
790
+ "x": 350,
791
+ "y": 840,
792
+ "wires": [
793
+ [
794
+ "bd68c4bdc53b8f80"
795
+ ]
796
+ ]
797
+ },
798
+ {
799
+ "id": "e4555d9019cd3f47",
800
+ "type": "catch",
801
+ "z": "a23d2e782beb66f4",
802
+ "name": "",
803
+ "scope": null,
804
+ "uncaught": false,
805
+ "x": 360,
806
+ "y": 960,
807
+ "wires": [
808
+ [
809
+ "fa1c26d470c38efd",
810
+ "019797b5a0882e7b",
811
+ "fb87f79852b22e4a"
812
+ ]
813
+ ]
814
+ },
815
+ {
816
+ "id": "bd68c4bdc53b8f80",
817
+ "type": "function",
818
+ "z": "a23d2e782beb66f4",
819
+ "name": "function 1",
820
+ "func": "throw Error(\"hello error\");\n\nreturn msg;",
821
+ "outputs": 1,
822
+ "timeout": 0,
823
+ "noerr": 0,
824
+ "initialize": "",
825
+ "finalize": "",
826
+ "libs": [],
827
+ "x": 560,
828
+ "y": 840,
829
+ "wires": [
830
+ [
831
+ "1ba1e62c9935255f"
832
+ ]
833
+ ]
834
+ },
835
+ {
836
+ "id": "fa1c26d470c38efd",
837
+ "type": "debug",
838
+ "z": "a23d2e782beb66f4",
839
+ "name": "debug 8",
840
+ "active": true,
841
+ "tosidebar": true,
842
+ "console": false,
843
+ "tostatus": false,
844
+ "complete": "false",
845
+ "statusVal": "",
846
+ "statusType": "auto",
847
+ "x": 620,
848
+ "y": 960,
849
+ "wires": []
850
+ },
851
+ {
852
+ "id": "019797b5a0882e7b",
853
+ "type": "debug",
854
+ "z": "a23d2e782beb66f4",
855
+ "name": "debug 9",
856
+ "active": true,
857
+ "tosidebar": true,
858
+ "console": false,
859
+ "tostatus": false,
860
+ "complete": "externalTaskId",
861
+ "targetType": "msg",
862
+ "statusVal": "",
863
+ "statusType": "auto",
864
+ "x": 620,
865
+ "y": 1020,
866
+ "wires": []
867
+ },
868
+ {
869
+ "id": "fb87f79852b22e4a",
870
+ "type": "externaltask-error",
871
+ "z": "a23d2e782beb66f4",
872
+ "name": "",
873
+ "error": "MyErrorCode",
874
+ "x": 610,
875
+ "y": 1100,
876
+ "wires": []
877
+ },
878
+ {
879
+ "id": "1ba1e62c9935255f",
880
+ "type": "externaltask-output",
881
+ "z": "a23d2e782beb66f4",
882
+ "name": "",
883
+ "x": 770,
884
+ "y": 840,
885
+ "wires": []
886
+ },
887
+ {
888
+ "id": "ec0be0ef92746967",
889
+ "type": "usertask-input",
890
+ "z": "fd3c725340de4f74",
891
+ "name": "",
892
+ "engine": "d042a4c68f51d6ab",
893
+ "x": 250,
894
+ "y": 120,
895
+ "wires": [
896
+ [
897
+ "090d42845540049c",
898
+ "846c5269df75c7a1"
899
+ ]
900
+ ]
901
+ },
902
+ {
903
+ "id": "090d42845540049c",
904
+ "type": "debug",
905
+ "z": "fd3c725340de4f74",
906
+ "name": "debug 10",
907
+ "active": true,
908
+ "tosidebar": true,
909
+ "console": false,
910
+ "tostatus": false,
911
+ "complete": "false",
912
+ "statusVal": "",
913
+ "statusType": "auto",
914
+ "x": 520,
915
+ "y": 120,
916
+ "wires": []
917
+ },
918
+ {
919
+ "id": "661e71d204ee957d",
920
+ "type": "uibuilder",
921
+ "z": "fd3c725340de4f74",
922
+ "name": "",
923
+ "topic": "",
924
+ "url": "usertasks",
925
+ "okToGo": true,
926
+ "fwdInMessages": false,
927
+ "allowScripts": false,
928
+ "allowStyles": false,
929
+ "copyIndex": true,
930
+ "templateFolder": "blank",
931
+ "extTemplate": "",
932
+ "showfolder": false,
933
+ "reload": true,
934
+ "sourceFolder": "src",
935
+ "deployedVersion": "6.8.2",
936
+ "showMsgUib": false,
937
+ "title": "",
938
+ "descr": "",
939
+ "x": 410,
940
+ "y": 300,
941
+ "wires": [
942
+ [
943
+ "823445c277179d4e",
944
+ "4267576c32c782ec"
945
+ ],
946
+ [
947
+ "ce674239858cdfa1"
948
+ ]
949
+ ]
950
+ },
951
+ {
952
+ "id": "823445c277179d4e",
953
+ "type": "debug",
954
+ "z": "fd3c725340de4f74",
955
+ "name": "debug 11",
956
+ "active": true,
957
+ "tosidebar": true,
958
+ "console": false,
959
+ "tostatus": false,
960
+ "complete": "false",
961
+ "statusVal": "",
962
+ "statusType": "auto",
963
+ "x": 600,
964
+ "y": 220,
965
+ "wires": []
966
+ },
967
+ {
968
+ "id": "4078e4fb0a080b04",
969
+ "type": "uib-element",
970
+ "z": "fd3c725340de4f74",
971
+ "name": "",
972
+ "topic": "",
973
+ "elementtype": "sform",
974
+ "parent": "body",
975
+ "parentSource": "",
976
+ "parentSourceType": "str",
977
+ "elementid": "",
978
+ "elementId": "",
979
+ "elementIdSourceType": "str",
980
+ "heading": "",
981
+ "headingSourceType": "str",
982
+ "headingLevel": "h2",
983
+ "data": "payload",
984
+ "dataSourceType": "msg",
985
+ "position": "last",
986
+ "positionSourceType": "str",
987
+ "passthrough": false,
988
+ "confData": {},
989
+ "x": 390,
990
+ "y": 420,
991
+ "wires": [
992
+ [
993
+ "c59406be55bd5124"
994
+ ]
995
+ ]
996
+ },
997
+ {
998
+ "id": "3b9e8eb5743f557c",
999
+ "type": "inject",
1000
+ "z": "fd3c725340de4f74",
1001
+ "name": "",
1002
+ "props": [
1003
+ {
1004
+ "p": "payload"
1005
+ }
1006
+ ],
1007
+ "repeat": "",
1008
+ "crontab": "",
1009
+ "once": false,
1010
+ "onceDelay": 0.1,
1011
+ "topic": "",
1012
+ "payload": "[{\"id\":\"r1\",\"type\":\"text\",\"required\":false,\"label\":\"Label for form row 1\",\"value\":\"Foo\",\"title\":\"Some helpful text\"},{\"id\":\"r11\",\"type\":\"email\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r12\",\"type\":\"month\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r14\",\"type\":\"time\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r15\",\"type\":\"week\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r16\",\"type\":\"password\",\"required\":true,\"label\":\"Label for form row 11\",\"title\":\"Some helpful text\"},{\"id\":\"r2\",\"type\":\"range\",\"required\":true,\"label\":\"Label for form row 1\",\"value\":\"Foo\"},{\"id\":\"r3\",\"type\":\"button\",\"label\":\"Text on button\",\"value\":\"Buttons can have values as well\"}]",
1013
+ "payloadType": "json",
1014
+ "x": 80,
1015
+ "y": 400,
1016
+ "wires": [
1017
+ [
1018
+ "4078e4fb0a080b04"
1019
+ ]
1020
+ ]
1021
+ },
1022
+ {
1023
+ "id": "c59406be55bd5124",
1024
+ "type": "link out",
1025
+ "z": "fd3c725340de4f74",
1026
+ "name": "link out 1",
1027
+ "mode": "link",
1028
+ "links": [
1029
+ "d9edaa2e3c514edc"
1030
+ ],
1031
+ "x": 545,
1032
+ "y": 400,
1033
+ "wires": []
1034
+ },
1035
+ {
1036
+ "id": "d9edaa2e3c514edc",
1037
+ "type": "link in",
1038
+ "z": "fd3c725340de4f74",
1039
+ "name": "link in 1",
1040
+ "links": [
1041
+ "c59406be55bd5124"
1042
+ ],
1043
+ "x": 245,
1044
+ "y": 300,
1045
+ "wires": [
1046
+ [
1047
+ "661e71d204ee957d"
1048
+ ]
1049
+ ]
1050
+ },
1051
+ {
1052
+ "id": "846c5269df75c7a1",
1053
+ "type": "function",
1054
+ "z": "fd3c725340de4f74",
1055
+ "name": "function 2",
1056
+ "func": "msg.payload = msg.payload.formFields;\n\nreturn msg;",
1057
+ "outputs": 1,
1058
+ "timeout": 0,
1059
+ "noerr": 0,
1060
+ "initialize": "",
1061
+ "finalize": "",
1062
+ "libs": [],
1063
+ "x": 100,
1064
+ "y": 280,
1065
+ "wires": [
1066
+ [
1067
+ "4078e4fb0a080b04"
1068
+ ]
1069
+ ]
1070
+ },
1071
+ {
1072
+ "id": "ce674239858cdfa1",
1073
+ "type": "debug",
1074
+ "z": "fd3c725340de4f74",
1075
+ "name": "debug 12",
1076
+ "active": false,
1077
+ "tosidebar": true,
1078
+ "console": false,
1079
+ "tostatus": false,
1080
+ "complete": "false",
1081
+ "statusVal": "",
1082
+ "statusType": "auto",
1083
+ "x": 580,
1084
+ "y": 320,
1085
+ "wires": []
1086
+ },
1087
+ {
1088
+ "id": "4267576c32c782ec",
1089
+ "type": "usertask-output",
1090
+ "z": "fd3c725340de4f74",
1091
+ "name": "",
1092
+ "engine": "d042a4c68f51d6ab",
1093
+ "x": 740,
1094
+ "y": 260,
1095
+ "wires": []
1096
+ }
1097
+ ]