@5minds/node-red-contrib-processcube 0.5.3 → 0.5.5-develop-182b6c-lxryyk0h
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/usertask-input.js +1 -1
package/package.json
CHANGED
package/usertask-input.js
CHANGED
@@ -51,7 +51,7 @@ module.exports = function(RED) {
|
|
51
51
|
|
52
52
|
console.log(`UserTaskInput query result: ${JSON.stringify(matchingFlowNodes)}`);
|
53
53
|
|
54
|
-
if (config.force_send_array
|
54
|
+
if (!config.force_send_array && matchingFlowNodes && matchingFlowNodes.userTasks && matchingFlowNodes.userTasks.length == 1) {
|
55
55
|
userTask = matchingFlowNodes.userTasks[0];
|
56
56
|
|
57
57
|
node.send({ payload: {userTask: userTask } });
|