I succeeded using the context variables, I share
[{"id":"aa63189a.fe0698","type":"function","z":"3ccc0f61.ff66e","name":"prepareQuery","func":"\n var ID_RUCHIER = msg.payload.ID_RUCHIER;\n \n\nif (typeof msg.payload.ID_RUCHIER == 'undefined')\n{\n // node.warn(RUCHIER_1);\n \n ID_RUCHIER =context.get('RUCHIER_1');\n\n}else\n//if (ID_RUCHIER !== 'undefined')\n{\n //\n context.set('RUCHIER_1',msg.payload.ID_RUCHIER);\n}\n\n//var ID_RUCHIER = msg.payload.ID_RUCHIER;\nvar ID_RUCHE = msg.payload.ID_RUCHE;\n\n\nvar query;\nquery = \"SELECT * FROM `BASE_RUCHE` WHERE `ID_RUCHIER` LIKE '\"+ID_RUCHIER+\"' AND `ID_RUCHE` LIKE '\"+ID_RUCHE+\"' ORDER BY DATE;\";\n\n\nmsg.topic = query;\n\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":860,"y":860,"wires":[["63d05e0c.9839a","78240206.58c04c"]]},{"id":"bc504912.83dd78","type":"join","z":"3ccc0f61.ff66e","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":",","joinerType":"str","accumulate":false,"timeout":"","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":690,"y":860,"wires":[["aa63189a.fe0698","b7e16a13.3fb048","c69b0310.2f3eb"]]},{"id":"142e014e.a0701f","type":"mui_dropdown","z":"3ccc0f61.ff66e","name":"","label":"ID_RUCHIER","tooltip":"","place":"Select option","group":"b29b3321.fcbe6","order":1,"width":0,"height":0,"passthru":false,"options":[{"label":"RUCHER_1","value":"1","type":"str"},{"label":"RUCHER_2","value":"2","type":"str"},{"label":"RUCHER_3","value":"3","type":"str"},{"label":"RUCHER_4","value":"4","type":"str"},{"label":"RUCHER_5","value":"5","type":"str"}],"payload":"","topic":"ID_RUCHIER","x":180,"y":840,"wires":[["bc504912.83dd78"]]},{"id":"4b19d6a3.dbef58","type":"mui_dropdown","z":"3ccc0f61.ff66e","name":"","label":"ID_RUCHE","tooltip":"","place":"Select option","group":"b29b3321.fcbe6","order":1,"width":0,"height":0,"passthru":true,"options":[{"label":"RUCHE_1","value":"1","type":"str"},{"label":"RUCHE_2","value":"2","type":"str"},{"label":"RUCHE_3","value":"3","type":"str"},{"label":"RUCHE_4","value":"4","type":"str"},{"label":"RUCHE_5","value":"5","type":"str"},{"label":"RUCHE_6","value":"6","type":"str"},{"label":"RUCHE_7","value":"7","type":"str"},{"label":"RUCHE_8","value":"8","type":"str"},{"label":"RUCHE_9","value":"9","type":"str"}],"payload":"","topic":"ID_RUCHE","x":170,"y":940,"wires":[["bc504912.83dd78"]]},{"id":"8c9b5ff3.44ab8","type":"function","z":"3ccc0f61.ff66e","name":"complete","func":"\nreturn {\n complete : true\n};","outputs":1,"noerr":0,"x":568,"y":1237.4832763671875,"wires":[["bc504912.83dd78"]]},{"id":"37229945.834106","type":"mui_button","z":"3ccc0f61.ff66e","name":"","group":"b29b3321.fcbe6","order":1,"width":0,"height":0,"passthru":false,"label":"button","tooltip":"","color":"","bgcolor":"","icon":"","payload":"true","payloadType":"bool","topic":"button","x":210,"y":1240,"wires":[["8c9b5ff3.44ab8"]]},{"id":"b29b3321.fcbe6","type":"mui_group","name":"Choix Rucher & Ruche","tab":"db7ea857.fdac68","order":1,"disp":true,"width":"6","collapse":false},{"id":"db7ea857.fdac68","type":"mui_tab","name":"MES RUCHES","icon":"dashboard","order":1,"disabled":false,"hidden":false}]