@5minds/node-red-contrib-processcube 1.10.0 → 1.10.1-develop-212cb8-m8xemjr3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.10.0",
3
+ "version": "1.10.1-develop-212cb8-m8xemjr3",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -7,6 +7,7 @@
7
7
  engine: { value: '', type: 'processcube-engine-config' },
8
8
  processmodel: { value: '', required: false },
9
9
  startevent: { value: '', required: false },
10
+ correlationId: { value: '', required: false },
10
11
  },
11
12
  inputs: 1,
12
13
  outputs: 1,
@@ -34,6 +35,10 @@
34
35
  <label for="node-input-startevent"><i class="fa fa-tag"></i> Startevent</label>
35
36
  <input type="text" id="node-input-startevent" placeholder="ID of Startevent" />
36
37
  </div>
38
+ <div class="form-row">
39
+ <label for="node-input-correlationId"><i class="fa fa-tag"></i> CorrelationId</label>
40
+ <input type="text" id="node-input-correlationId" placeholder="ID of Correlation" />
41
+ </div>
37
42
  </script>
38
43
 
39
44
  <script type="text/markdown" data-help-name="process-start">
@@ -46,6 +51,7 @@ The `processModelId` and `startEventId` can be set in the message object to over
46
51
  : payload (Object) : Will be used as the start token for the process.
47
52
  : processModelId (String) : Will be used as the process model and override the configured `Processmodel`.
48
53
  : startEventId (String) : Will be used as the start event and override the configured `Startevent`.
54
+ : correlationId (String) : Will be used as the correlation identifier and override the configured `CorrelationId`.
49
55
 
50
56
  ## Outputs
51
57
 
package/process-start.js CHANGED
@@ -19,6 +19,7 @@ module.exports = function (RED) {
19
19
  const startParameters = {
20
20
  processModelId: msg.processModelId || config.processmodel,
21
21
  startEventId: msg.startEventId || config.startevent,
22
+ correlationId: msg.correlationId || config.correlationId,
22
23
  initialToken: initialToken,
23
24
  };
24
25