@5minds/node-red-contrib-processcube 1.8.6-develop-ccda16-m7pcutdr → 1.8.8-develop-655470-m7ss9len

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.
@@ -429,7 +429,7 @@
429
429
  },
430
430
  "@5minds/node-red-contrib-processcube": {
431
431
  "name": "@5minds/node-red-contrib-processcube",
432
- "version": "1.8.5",
432
+ "version": "1.8.6",
433
433
  "local": false,
434
434
  "user": false,
435
435
  "nodes": {
@@ -60,7 +60,7 @@ module.exports = function (RED) {
60
60
  node._tracking_for_etw[msg.flowNodeInstanceId].push(theNode);
61
61
  }
62
62
 
63
- theNode.status({ fill: 'green', shape: 'dot', text: `tasks(${node._tracking_nodes[theNode.id].count}).` });
63
+ theNode.status({ fill: 'blue', shape: 'dot', text: `tasks(${node._tracking_nodes[theNode.id].count})` });
64
64
  };
65
65
 
66
66
  node.decrMsgOnNode = (theNode, msg) => {
@@ -89,7 +89,7 @@ module.exports = function (RED) {
89
89
  }
90
90
  }
91
91
 
92
- theNode.status({ fill: 'green', shape: 'dot', text: `tasks(${node._tracking_nodes[theNode.id].count}).` });
92
+ theNode.status({ fill: 'blue', shape: 'dot', text: `tasks(${node._tracking_nodes[theNode.id].count})` });
93
93
  };
94
94
 
95
95
  RED.hooks.add('preDeliver', (sendEvent) => {
@@ -188,22 +188,22 @@ module.exports = function (RED) {
188
188
  const msgCounter = Object.keys(this.started_external_tasks).length;
189
189
 
190
190
  if (this._subscribed === false) {
191
- this.status({ fill: 'red', shape: 'ring', text: `subscription failed (${msgCounter}).` });
191
+ this.status({ fill: 'red', shape: 'ring', text: `subscription failed (${msgCounter})` });
192
192
 
193
- this.sendStatus('NotOk', `subscription failed (${msgCounter}).`);
193
+ this.sendStatus('NotOk', `subscription failed (${msgCounter})`);
194
194
  } else {
195
195
  if (msgCounter >= 1) {
196
196
  if (node._step) {
197
- this.status({ fill: 'green', shape: 'dot', text: `tasks(${msgCounter}) ->'${node._step}'.` });
197
+ this.status({ fill: 'blue', shape: 'dot', text: `tasks(${msgCounter}) ->'${node._step}'` });
198
198
  this.sendStatus('Ok', `tasks(${msgCounter}) ->'${node._step}'.`);
199
199
  } else {
200
- this.status({ fill: 'green', shape: 'dot', text: `tasks(${msgCounter}).` });
201
- this.sendStatus('Ok', `tasks(${msgCounter}).`);
200
+ this.status({ fill: 'blue', shape: 'dot', text: `tasks(${msgCounter})` });
201
+ this.sendStatus('Ok', `tasks(${msgCounter})`);
202
202
  }
203
203
  this.log(`handling tasks ${msgCounter}.`);
204
204
  } else {
205
- this.status({ fill: 'blue', shape: 'ring', text: `subcribed.` });
206
- this.sendStatus('Ok', `subcribed.`);
205
+ this.status({ fill: 'green', shape: 'ring', text: `subcribed` });
206
+ this.sendStatus('Ok', `subcribed`);
207
207
  }
208
208
  }
209
209
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.8.6-develop-ccda16-m7pcutdr",
3
+ "version": "1.8.8-develop-655470-m7ss9len",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -20,11 +20,6 @@
20
20
  </bpmn:endEvent>
21
21
  <bpmn:sequenceFlow id="Flow_0y6es1p" sourceRef="Event_0o7qlkd" targetRef="Event_0yn9mzh" />
22
22
  <bpmn:serviceTask id="Activity_02ykwt2" name="Topic &#34;Test&#34;" camunda:type="external" camunda:topic="Test">
23
- <bpmn:extensionElements>
24
- <camunda:properties>
25
- <camunda:property name="payload" value="{&#10; &#34;hello&#34;: &#34;world&#34;&#10;}" />
26
- </camunda:properties>
27
- </bpmn:extensionElements>
28
23
  <bpmn:incoming>Flow_0qmxzxk</bpmn:incoming>
29
24
  <bpmn:outgoing>Flow_16dfeac</bpmn:outgoing>
30
25
  </bpmn:serviceTask>
@@ -47,12 +42,12 @@
47
42
  <bpmn:startEvent id="StartEvent_1" name="Start">
48
43
  <bpmn:extensionElements>
49
44
  <camunda:properties>
50
- <camunda:property name="enabled" value="false" />
45
+ <camunda:property name="enabled" value="true" />
51
46
  </camunda:properties>
52
47
  </bpmn:extensionElements>
53
48
  <bpmn:outgoing>Flow_0qmxzxk</bpmn:outgoing>
54
49
  <bpmn:timerEventDefinition id="TimerEventDefinition_02zdsh9">
55
- <bpmn:timeCycle xsi:type="bpmn:tFormalExpression">*/10 * * * * *</bpmn:timeCycle>
50
+ <bpmn:timeCycle xsi:type="bpmn:tFormalExpression">*/5 * * * * *</bpmn:timeCycle>
56
51
  </bpmn:timerEventDefinition>
57
52
  </bpmn:startEvent>
58
53
  </bpmn:process>