How generate message on flow start based on default item in drop down list?

I am sure this has been asked before? How generate message on flow start based on default item in drop down list? If the preset is 2, and the flow starts, no message generated, if 1 or 3 selected, message generated as expected. If I wanted 2 to be the preset and a message generated based on 2?

[{"id":"8008eeb75d0e6c13","type":"tab","label":"Test","disabled":false,"info":"","env":[]},{"id":"92272764149b697a","type":"inject","z":"8008eeb75d0e6c13","name":"Automatic","props":[{"p":"payload"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"2","payloadType":"str","x":130,"y":100,"wires":[["6a20d6e75a95605c"]]},{"id":"6a20d6e75a95605c","type":"ui_dropdown","z":"8008eeb75d0e6c13","name":"Test","label":"","tooltip":"","place":"","group":"36c4aa9e73d4921d","order":23,"width":0,"height":0,"passthru":false,"multiple":false,"options":[{"label":"1","value":"1","type":"str"},{"label":"2","value":"2","type":"str"},{"label":"3","value":"3","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","x":290,"y":100,"wires":[["4caace0ce771fb59"]]},{"id":"4caace0ce771fb59","type":"debug","z":"8008eeb75d0e6c13","name":"Message","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":440,"y":100,"wires":[]},{"id":"36c4aa9e73d4921d","type":"ui_group","name":"Control","tab":"f0b098f951dd9132","order":1,"disp":true,"width":11,"collapse":true,"className":""},{"id":"f0b098f951dd9132","type":"ui_tab","name":"Test","icon":"dashboard","order":11,"disabled":false,"hidden":false}]

Pass through was not checked! Nuts.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.