[
{
"id": "e96b3cf4329c5f4a",
"type": "inject",
"z": "d70eb72327dc3f2e",
"name": "Node1",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 200,
"y": 200,
"wires": [
[
"b4486d7bda88c94b"
]
]
},
{
"id": "a98f535fcde0bd82",
"type": "inject",
"z": "d70eb72327dc3f2e",
"name": "Node2",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "1",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 200,
"y": 240,
"wires": [
[
"a86b125b73f7bf56"
]
]
},
{
"id": "f9dd0dd191b3d3fb",
"type": "delay",
"z": "d70eb72327dc3f2e",
"name": "",
"pauseType": "timed",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "5",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": true,
"outputs": 2,
"x": 630,
"y": 220,
"wires": [
[
"b637dea8b0153dda"
],
[]
]
},
{
"id": "b4486d7bda88c94b",
"type": "function",
"z": "d70eb72327dc3f2e",
"name": "fun1",
"func": "msg.topic=\"1111\"\nmsg.rate=5000\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 350,
"y": 200,
"wires": [
[
"c02eaad562f17b9b"
]
]
},
{
"id": "a86b125b73f7bf56",
"type": "function",
"z": "d70eb72327dc3f2e",
"name": "fun2",
"func": "msg.topic=\"2\"\nmsg.rate=10000\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 350,
"y": 240,
"wires": [
[
"c02eaad562f17b9b"
]
]
},
{
"id": "b637dea8b0153dda",
"type": "debug",
"z": "d70eb72327dc3f2e",
"name": "debug 86",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 800,
"y": 200,
"wires": []
},
{
"id": "c02eaad562f17b9b",
"type": "junction",
"z": "d70eb72327dc3f2e",
"x": 500,
"y": 220,
"wires": [
[
"f9dd0dd191b3d3fb"
]
]
}
]
As the flow shows, the debug show nothing with two branch of messages.
But if I delete node2 , only has Node2 send message, then the debug node will show message.