@5minds/node-red-contrib-processcube 0.13.0-feature-f7cd16-lyfhy1jh → 0.13.0-feature-d922c8-lyfip0sz
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/wait-for-usertask.js +6 -1
package/package.json
CHANGED
package/wait-for-usertask.js
CHANGED
@@ -25,7 +25,12 @@ module.exports = function (RED) {
|
|
25
25
|
let subscription = null;
|
26
26
|
|
27
27
|
node.on('input', async function (msg) {
|
28
|
-
|
28
|
+
if (node.server) {
|
29
|
+
currentIdentity = node.server.identity;
|
30
|
+
} else {
|
31
|
+
node.error("No processcube_config node found.")
|
32
|
+
return;
|
33
|
+
}
|
29
34
|
|
30
35
|
const query = RED.util.evaluateNodeProperty(config.query, config.query_type, node, msg);
|
31
36
|
|