Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@5minds/node-red-contrib-processcube

Package Overview
Dependencies
Maintainers
0
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@5minds/node-red-contrib-processcube - npm Package Compare versions

Comparing version 1.3.1-feature-1ab585-m21yvqst to 1.3.2-feature-a99d33-m24jmsi2

examples/Wait-for-UserTask-Sample.json

183

nodered/flows.json

@@ -67,2 +67,10 @@ [

{
"id": "d6c450fe98faa45f",
"type": "tab",
"label": "Wait for usertask",
"disabled": false,
"info": "",
"env": []
},
{
"id": "4c59118134081e05",

@@ -1115,4 +1123,2 @@ "type": "group",

"query_type": "msg",
"force_send_array": false,
"multisend": false,
"x": 180,

@@ -1250,4 +1256,2 @@ "y": 420,

"query_type": "msg",
"force_send_array": false,
"multisend": false,
"x": 200,

@@ -1827,3 +1831,174 @@ "y": 440,

"wires": []
},
{
"id": "30b8f9c606a2bb83",
"type": "wait-for-usertask",
"z": "d6c450fe98faa45f",
"name": "",
"engine": "42e6796dddd9d4db",
"query": "payload",
"query_type": "msg",
"only_for_new": true,
"x": 590,
"y": 120,
"wires": [
[
"d9cb8e69e985d6df",
"a5c0ea907e64e759"
]
]
},
{
"id": "20fd37adf0fb6f39",
"type": "process-start",
"z": "d6c450fe98faa45f",
"name": "",
"engine": "42e6796dddd9d4db",
"processmodel": "Wait-For-Usertask_Process",
"startevent": "StartEvent_1",
"x": 250,
"y": 120,
"wires": [
[
"1e1e9c428172eae2",
"c65a4ba5461e7ee0"
]
]
},
{
"id": "e18451d69a169f5f",
"type": "inject",
"z": "d6c450fe98faa45f",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{}",
"payloadType": "json",
"x": 90,
"y": 120,
"wires": [
[
"20fd37adf0fb6f39"
]
]
},
{
"id": "d9cb8e69e985d6df",
"type": "delay",
"z": "d6c450fe98faa45f",
"name": "",
"pauseType": "delay",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 540,
"y": 200,
"wires": [
[
"acecfeef70b5c4ad"
]
]
},
{
"id": "44f4c6c64263d366",
"type": "usertask-output",
"z": "d6c450fe98faa45f",
"name": "",
"engine": "42e6796dddd9d4db",
"result": "payload",
"result_type": "msg",
"x": 880,
"y": 200,
"wires": [
[]
]
},
{
"id": "acecfeef70b5c4ad",
"type": "function",
"z": "d6c450fe98faa45f",
"name": "pre",
"func": "msg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 710,
"y": 200,
"wires": [
[
"44f4c6c64263d366"
]
]
},
{
"id": "1e1e9c428172eae2",
"type": "function",
"z": "d6c450fe98faa45f",
"name": "query",
"func": "msg.payload = {\n \"processInstanceId\": msg.payload.processInstanceId,\n \"flowNodeId\": \"make_it\"\n};\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 410,
"y": 120,
"wires": [
[
"30b8f9c606a2bb83"
]
]
},
{
"id": "c65a4ba5461e7ee0",
"type": "debug",
"z": "d6c450fe98faa45f",
"name": "debug 32",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 370,
"y": 60,
"wires": []
},
{
"id": "a5c0ea907e64e759",
"type": "debug",
"z": "d6c450fe98faa45f",
"name": "debug 33",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 760,
"y": 60,
"wires": []
}
]

2

package.json
{
"name": "@5minds/node-red-contrib-processcube",
"version": "1.3.1-feature-1ab585-m21yvqst",
"version": "1.3.2-feature-a99d33-m24jmsi2",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Node-RED nodes for ProcessCube",

@@ -33,2 +33,5 @@ module.exports = function (RED) {

if (matchingFlowNodes.userTasks && matchingFlowNodes.userTasks.length == 1) {
// remove subscription
client.userTasks.removeSubscription(subscription, currentIdentity);
const userTask = matchingFlowNodes.userTasks[0];

@@ -42,4 +45,2 @@

// remove subscription
client.userTasks.removeSubscription(subscription, currentIdentity);
}, { identity: currentIdentity });

@@ -46,0 +47,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc