-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathflows.json
1 lines (1 loc) · 847 Bytes
/
flows.json
1
[{"id":"18af1902.b21ed7","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"7b868f38.7d17","type":"function","z":"18af1902.b21ed7","name":"","func":"const inputValue = msg.payload\nconst moment = global.get(\"testPackage\")\n\nmsg.payload = {\n \"originalTimestamp\": inputValue,\n \"parsedTimestamp\": moment(inputValue)\n}\n\nreturn msg;","outputs":1,"noerr":0,"x":350,"y":260,"wires":[["28ab7e20.979782"]]},{"id":"ff638668.728788","type":"inject","z":"18af1902.b21ed7","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":140,"y":260,"wires":[["7b868f38.7d17"]]},{"id":"28ab7e20.979782","type":"debug","z":"18af1902.b21ed7","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":540,"y":260,"wires":[]}]