Hello Everyone,
I am new to node-red and i am trying to loop through an array and trying to do something for each item in an array in a sequential manner. Only after all the nodes between the split and the join are completed for 1 item, the next item should be started. However its not likely the case.
The example Retain Until Processed on the node's page has an example flow doing basically what you want. If you put the node before the Split and then use the output of the Join to release the next message it should work.
I did experiment q-gate. It needs to be triggerd by having "peak" present in msg.payload. I have my array in the payload. I was having trouble triggering the q-gate automatically without a manual trigger.