as you can see on the picture, make a MySQL query to it can come to the following states:
- query to DB => the "chipnr" is not present, then I get [empty].
- query to DB => the "chipnr" is available and I get the value in "payload.chipnr".
- output from DB => The entry was successful and I get msg.payload: OkPacket "[object Object]"
How do I have to set the switch node to get the output like this:
- state => value 1
- state => value 2
- state => value 3