Change node status from another node

Hello everybody,

I'm a newbe... Is it possible to change a the status from another one ?

Thanks for your help.

Could you give some more details? I, for one, have no idea what you are asking.

If you look at my example below, I would like to change the status of my first function node from the seconde one...

[{"id":"57e0a439.921dac","type":"inject","z":"40e605db.1646c4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":320,"y":620,"wires":[["b7395f0.1651da"]]},{"id":"b7395f0.1651da","type":"function","z":"40e605db.1646c4","name":"first action","func":"node.status({fill:\"blue\",shape:\"ring\",text:\"WORKING\"});\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":470,"y":620,"wires":[["965c5796.0833b8"]]},{"id":"965c5796.0833b8","type":"delay","z":"40e605db.1646c4","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":620,"y":620,"wires":[["c4731eb2.f4b1d"]]},{"id":"c4731eb2.f4b1d","type":"function","z":"40e605db.1646c4","name":"second action","func":"// from here, I would like to change the status of the first node ...\n//something like\n\n//firstActionNode.status({fill:\"green\",shape:\"dot\",text:\"DONE !!!\"});\n\n\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":780,"y":620,"wires":[["b10659c6.a16d28"]]},{"id":"b10659c6.a16d28","type":"debug","z":"40e605db.1646c4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":950,"y":620,"wires":[]}]

It is not possible for one node cannot change the status of another node.

Ok... Thanks a lot.

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