[Example] Basic nodes flow1
Posted: Mon Oct 16, 2023 12:41 pm
The basic nodes flow for try:
Code: Select all
[{"id":"41e2e7b968d1c6fd","type":"inject","z":"fa60de603bcf672a","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":340,"y":260,"wires":[["b3c2a5074ca16049","717be69c148e1404"]]},{"id":"b3c2a5074ca16049","type":"function","z":"fa60de603bcf672a","name":"","func":"msg.payload = \"This is a book\";\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":520,"y":260,"wires":[["222c439e0bdf582c","38a47d076c0df321"]]},{"id":"222c439e0bdf582c","type":"function","z":"fa60de603bcf672a","name":"","func":"msg.index = 9527;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":700,"y":260,"wires":[["27e6f764488bd658","26dbf08a41edf551"]]},{"id":"38a47d076c0df321","type":"debug","z":"fa60de603bcf672a","name":"msg.payload","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":710,"y":200,"wires":[]},{"id":"27e6f764488bd658","type":"debug","z":"fa60de603bcf672a","name":"msg.payload","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":890,"y":240,"wires":[]},{"id":"26dbf08a41edf551","type":"debug","z":"fa60de603bcf672a","name":"msg","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":870,"y":280,"wires":[]},{"id":"717be69c148e1404","type":"debug","z":"fa60de603bcf672a","name":"msg.payload","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":530,"y":160,"wires":[]}]