I have a payload
I want to check it with a switch to control a template for switching to another tab of my dashboard.
The switch is like this
I made a template with the following code
the flow is
If I put the code of the template into a button, the dashboard tab is displayed.
So the code is ok....I think
But with this flow I can not get it to work.
Thank you for helping
You have told the switch node to test whether msg.payload contains the same value as msg.true does.
If the payload is a string "true" then the switch needs to be configured as
If it is a boolean true then use
Feed it into a debug node and you will see whether it is a string or boolean.
At least I my template was ok
Getting better everytime I talk to you guys
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.