@5minds/node-red-contrib-processcube 1.5.5-feature-22f94f-m3eulbpf → 1.5.5-feature-3ce1dc-m3pqaga1
Sign up to get free protection for your applications and to get access to all the features.
- package/externaltask-input.js +2 -6
- package/package.json +1 -1
package/externaltask-input.js
CHANGED
@@ -98,7 +98,7 @@ module.exports = function (RED) {
|
|
98
98
|
task: RED.util.encodeObject(externalTask),
|
99
99
|
payload: payload,
|
100
100
|
flowNodeInstanceId: externalTask.flowNodeInstanceId,
|
101
|
-
processInstanceId: externalTask.processInstanceId
|
101
|
+
processInstanceId: externalTask.processInstanceId,
|
102
102
|
};
|
103
103
|
|
104
104
|
node.log(
|
@@ -109,11 +109,7 @@ module.exports = function (RED) {
|
|
109
109
|
});
|
110
110
|
};
|
111
111
|
|
112
|
-
let options =
|
113
|
-
|
114
|
-
if (!!config.workerConfig) {
|
115
|
-
options = RED.util.evaluateNodeProperty(config.workerConfig, 'json', node);
|
116
|
-
}
|
112
|
+
let options = RED.util.evaluateNodeProperty(config.workerConfig, 'json', node);
|
117
113
|
|
118
114
|
client.externalTasks
|
119
115
|
.subscribeToExternalTaskTopic(config.topic, etwCallback, options)
|