We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm playing with the logic node, but I cannot achieve what I intend:
true
false
The OR function of the logic node results in undefined if the first arriving message is false or if all messages are false.
undefined
My test flow:
[{"id":"6158d3c1.0e4ddc","type":"combine-logic","z":"2808bf91.f42188","name":"","topic":"","operator":"or","defer":250,"timeout":0,"distinction":"topic","x":400,"y":1120,"wires":[["6a350ed2.d5472"]]},{"id":"b46b83c4.782ea8","type":"inject","z":"2808bf91.f42188","name":"","topic":"1","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1140,"wires":[["6158d3c1.0e4ddc"]]},{"id":"6e01b5e8.d307c4","type":"inject","z":"2808bf91.f42188","name":"","topic":"2","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1180,"wires":[["6158d3c1.0e4ddc"]]},{"id":"d74f57e5.605c08","type":"inject","z":"2808bf91.f42188","name":"","topic":"3","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1220,"wires":[["6158d3c1.0e4ddc"]]},{"id":"6a350ed2.d5472","type":"debug","z":"2808bf91.f42188","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":560,"y":1120,"wires":[]},{"id":"5c40dde0.b8de4c","type":"inject","z":"2808bf91.f42188","name":"","topic":"1","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1020,"wires":[["6158d3c1.0e4ddc"]]},{"id":"a5919e98.5f6458","type":"inject","z":"2808bf91.f42188","name":"","topic":"2","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1060,"wires":[["6158d3c1.0e4ddc"]]},{"id":"fabb86e4.157198","type":"inject","z":"2808bf91.f42188","name":"","topic":"3","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1100,"wires":[["6158d3c1.0e4ddc"]]}]
The text was updated successfully, but these errors were encountered:
try fix: #6
Sorry, something went wrong.
Closed with: 7013d33
No branches or pull requests
I'm playing with the logic node, but I cannot achieve what I intend:
true
thentrue
--> Works with ORfalse
thenfalse
--> Should also work with OR (at least I think so, Boolean algebra isn't my big strength)The OR function of the logic node results in
undefined
if the first arriving message isfalse
or if all messages arefalse
.My test flow:
[{"id":"6158d3c1.0e4ddc","type":"combine-logic","z":"2808bf91.f42188","name":"","topic":"","operator":"or","defer":250,"timeout":0,"distinction":"topic","x":400,"y":1120,"wires":[["6a350ed2.d5472"]]},{"id":"b46b83c4.782ea8","type":"inject","z":"2808bf91.f42188","name":"","topic":"1","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1140,"wires":[["6158d3c1.0e4ddc"]]},{"id":"6e01b5e8.d307c4","type":"inject","z":"2808bf91.f42188","name":"","topic":"2","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1180,"wires":[["6158d3c1.0e4ddc"]]},{"id":"d74f57e5.605c08","type":"inject","z":"2808bf91.f42188","name":"","topic":"3","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1220,"wires":[["6158d3c1.0e4ddc"]]},{"id":"6a350ed2.d5472","type":"debug","z":"2808bf91.f42188","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":560,"y":1120,"wires":[]},{"id":"5c40dde0.b8de4c","type":"inject","z":"2808bf91.f42188","name":"","topic":"1","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1020,"wires":[["6158d3c1.0e4ddc"]]},{"id":"a5919e98.5f6458","type":"inject","z":"2808bf91.f42188","name":"","topic":"2","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1060,"wires":[["6158d3c1.0e4ddc"]]},{"id":"fabb86e4.157198","type":"inject","z":"2808bf91.f42188","name":"","topic":"3","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":1100,"wires":[["6158d3c1.0e4ddc"]]}]
The text was updated successfully, but these errors were encountered: