C’est j’ai trouvé. Il fallait que je charge l’objet avant d’y accéder
[{"id":"9e1281ab5212bef7","type":"inject","z":"fa0087567b2aa6e5","name":"","props":[{"p":"id","v":"toto","vt":"str"},{"p":"topic","v":"10","vt":"num"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":190,"y":420,"wires":[["afc48bf3967bc5d8"]]},{"id":"afc48bf3967bc5d8","type":"function","z":"fa0087567b2aa6e5","name":"function 18","func":"flow.set(msg.id, {});\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":390,"y":420,"wires":[["c4b2131792f7d967"]]},{"id":"c4b2131792f7d967","type":"function","z":"fa0087567b2aa6e5","name":"function 19","func":"let valeur = {};\n\nvaleur.prems = msg.topic;\n\nflow.set(msg.id,valeur)\nlet temp = flow.get(msg.id);\nlet temp1 = temp.prems;\n\nnode.status({fill:\"green\",shape:\"ring\",text:temp1});\n\nmsg.payload = temp1;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":650,"y":420,"wires":[["e6e6b7fd5fbc696e"]]},{"id":"e6e6b7fd5fbc696e","type":"debug","z":"fa0087567b2aa6e5","name":"debug 304","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":870,"y":420,"wires":[]}]
Si mon exemple peut aider.
Encore merci à toi @golfvert