1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red/nodes/examples/sequence/join/01 - Automatic join mode.json

1 line
5.7 KiB
JSON
Raw Permalink Normal View History

2020-05-01 09:49:17 +02:00
[{"id":"afe74de5.58488","type":"comment","z":"ca8bcace.3a3e58","name":"Example: Automatic Mode","info":"Join node can be used to join payload of messages into single message payload. In automatic mode, it uses `parts` property to decide sequence of messages to join.","x":150,"y":60,"wires":[]},{"id":"d0c8c78e.1281e8","type":"inject","z":"ca8bcace.3a3e58","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":180,"wires":[["c59ac70d.bb9c58"]]},{"id":"c59ac70d.bb9c58","type":"template","z":"ca8bcace.3a3e58","name":"data","field":"payload","fieldType":"msg","format":"text","syntax":"plain","template":"Apple\nOrange\nBanana\nKiwi","output":"str","x":350,"y":180,"wires":[["21829618.af5b0a"]]},{"id":"d6c9fe0.d34ad","type":"join","z":"ca8bcace.3a3e58","name":"","mode":"auto","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":"false","timeout":"","count":"","reduceRight":false,"x":630,"y":180,"wires":[["8defdbb8.aa9c08"]]},{"id":"21829618.af5b0a","type":"split","z":"ca8bcace.3a3e58","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":490,"y":180,"wires":[["d6c9fe0.d34ad"]]},{"id":"8defdbb8.aa9c08","type":"debug","z":"ca8bcace.3a3e58","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":790,"y":180,"wires":[]},{"id":"d96759bf.eabe38","type":"comment","z":"ca8bcace.3a3e58","name":"Join message sequence created by split node","info":"","x":250,"y":120,"wires":[]},{"id":"a46bcdd3.db621","type":"csv","z":"ca8bcace.3a3e58","name":"","sep":",","hdrin":true,"hdrout":"","multi":"one","ret":"\\n","temp":"","skip":"0","strings":true,"include_empty_strings":"","include_null_values":"","x":490,"y":340,"wires":[["5d1c8a1e.691f74"]]},{"id":"65bf1807.dafad8","type":"inject","z":"ca8bcace.3a3e58","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":340,"wires":[["3640a5ef.f1e0ea"]]},{"id":"3640a5ef.f1e0ea","type":"template","z":"ca8bcace.3a3e58","name":"data","field":"payload","fieldType":"msg","format":"text","syntax":"plain","template":"name,price\nApple,100\nOrange,80\nBanana,120\nKiwi,50","output":"str","x":350,"y":340,"wires":[["a46bcdd3.db621"]]},{"id":"5d1c8a1e.691f74","type":"join","z":"ca8bcace.3a3e58","name":"","mode":"auto","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":"false","timeout":"","count":"","reduceRight":false,"x":630,"y":340,"wires":[["457ab3c9.7301ec"]]},{"id":"457ab3c9.7301ec","type":"debug","z":"ca8bcace.3a3e58","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":790,"y":340,"wires":[]},{"id":"d9f508c1.916c18","type":"comment","z":"ca8bcace.3a3e58","name":"Join message sequence created by csv node","info":"","x":250,"y":280,"wires":[]},{"id":"28970739.29e728","type":"csv","z":"ca8bcace.3a3e58","name":"","sep":",","hdrin":true,"hdrout":"","multi":"one","ret":"\\n","temp":"","skip":"0","strings":true,"include_empty_strings":"","include_null_values":"","x":490,"y":500,"wires":[["bbc984d8.be42d8"]]},{"id":"c8297669.559348","type":"inject","z":"ca8bcace.3a3e58","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":500,"wires":[["2f8f819f.3371be"]]},{"id":"2f8f819f.3371be","type":"template","z":"ca8bcace.3a3e58","name":"data","field":"payload","fieldType":"msg","format":"text","syntax":"plain","template":"name,price\nApple,100\nOrange,80\nBanana,120\nKiwi,50","output":"str","x":350,"y":500,"wires":[["28970739.29e728"]]},{"id":"716ea12e.1edb6","type":"join","z":"ca8bcace.3a3e58","name":"","mode":"auto","build":"string","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":"false","timeout":"","count":"","reduceRight":false,"x":770,"y":500,"wires":[["967a8991.a09208"]]},{"id":"967a8991.a09208","type"