Telegram messages not starting

Hi all,
I have this simple flow that does not work properly…

[{"id":"c8518946.e86ab8","type":"server-state-changed","z":"b393f76f.d98928","name":"My status","server":"dba6471d.a097a8","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"person.myname","entityidfiltertype":"exact","outputinitially":true,"state_type":"str","haltifstate":"not_home","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"x":188.00000381469727,"y":111.00000190734863,"wires":[["3e7ec28e.c65b7e"],[]]},{"id":"3e7ec28e.c65b7e","type":"api-call-service","z":"b393f76f.d98928","name":"Msg ","server":"dba6471d.a097a8","version":1,"debugenabled":true,"service_domain":"telegram_bot","service":"send_message","entityId":"","data":"{\"target\":\"18375767\",\"timeout\":\"2000\",\"message\":\"I'am {{payload}}\"}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":458,"y":110,"wires":[["21ad6faf.e3118"]]},{"id":"21ad6faf.e3118","type":"debug","z":"b393f76f.d98928","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":617.0000076293945,"y":110.00001525878906,"wires":[]},{"id":"bdfd4d44.9fe1b","type":"inject","z":"b393f76f.d98928","name":"","topic":"","payload":"not_home","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":298,"y":160.00000286102295,"wires":[["3e7ec28e.c65b7e"]]},{"id":"c1bd4ebc.18875","type":"inject","z":"b393f76f.d98928","name":"","topic":"","payload":"home","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":301,"y":62.000000953674316,"wires":[["3e7ec28e.c65b7e"]]},{"id":"dba6471d.a097a8","type":"server","z":"","name":"Home Assistant","legacy":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true}]

When the status is “home” the message is delivered, when the message is “not_home” the message does not start.
I really wonder why…

Perhaps an Image will help understanding:

Looking at your code, (haven’t verified it by importing it into nodered) it seems that you configured your state node to haltIF: State = notHome

Simply delete this, and you should get both messages.
Or connect the second output aswell (which should triggers on not home in this case)

Thank you for your suggestion. I tried to connect both output and enabled debug on The telegramma call. The call seems to be good, but message s are delivered only when home.