Why get the function node not triggerd?
Here is the Flow:
[{"id":"d64b87be.5f7ca8","type":"function","z":"a7004483.d00c88","name":"am pm","func":"if (msg.mytime == msg.payload.topic1) {\n msg.payload = \"Good morning\";\n} \nelse if (msg.mytime == msg.payload.topic2){\n msg.payload = \"good evening\";\n}\n","outputs":1,"noerr":0,"x":578.6775894165039,"y":247.25756072998047,"wires":[["153b812b.55fa3f"]]}]