So i set up a switch to compare it to msg.topic (base value of it comes from an inject and the value is 10)
And then i pass a number there as an msg.payload which is bigger and one which is smaller than 10 but nothing happens
[{"id":"2cf862d7.502fee","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"77567440.2acd0c","type":"debug","z":"2cf862d7.502fee","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":910,"y":340,"wires":[]},{"id":"7746ae89.6899d","type":"inject","z":"2cf862d7.502fee","name":"","topic":"","payload":"10","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":340,"wires":[["aa8de96b.435838"]]},{"id":"23600647.be59ba","type":"switch","z":"2cf862d7.502fee","name":"","property":"paylaod","propertyType":"msg","rules":[{"t":"gt","v":"topic","vt":"msg"}],"checkall":"true","repair":false,"outputs":1,"x":690,"y":260,"wires":[["77567440.2acd0c"]]},{"id":"cde726a8.aed498","type":"inject","z":"2cf862d7.502fee","name":"","topic":"","payload":"2000","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":140,"wires":[["23600647.be59ba"]]},{"id":"d21c3318.3c516","type":"inject","z":"2cf862d7.502fee","name":"","topic":"","payload":"3","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":180,"wires":[["23600647.be59ba"]]},{"id":"aa8de96b.435838","type":"change","z":"2cf862d7.502fee","name":"","rules":[{"t":"move","p":"payload","pt":"msg","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":350,"y":300,"wires":[["23600647.be59ba","77567440.2acd0c"]]}]