Ok I got the join to add the three payloads to one but it appears that its adding the paths as part of the string in the message. I may have to remove that somehow or the IT guy may have to change the SQL script to ignore it.
Would I use a FUNCTION node to insert to database? Im not seeing an INSERT node in my list.
I did use the function to test sending data to the database with an Inject node trigger but the script was just to insert values that were static in the script text.
EX: msg.topic = "INSERT INTO pd_record_set (rec_press, rec_datetime, rec_part, rec_stock, rec_stockdate, rec_operator, rec_heatcount, rec_transfertime, rec_curetime, rec_moldset, rec_moldread, rec_topset, rec_topread, rec_ramstatus, rec_potread, rec_idletime, rec_unloadtime, rec_moldsetter, rec_scrapheat, rec_scrapcat) VALUES (0, NOW(), 10005, 10000, '2024-08-23', 10162,0,0,0,0,0,0,0,0,0,0,0,10162,0,0)"
return msg;