node-red / node-red

Low-code programming for event-driven applications
http://nodered.org
Apache License 2.0
18.96k stars 3.31k forks source link

Optionally add msg.complete to split node output #4795

Closed dceejay closed 3 days ago

dceejay commented 4 days ago

so can trigger join even when in manual mode. to address #4781

Proposed changes

This fix adds a checkbox to the split node to optionally add the msg.complete (true) flag to the last msg of the sequence sent from the split.

image

This is to address #4781, which flags a breaking change introduced by #4408 - which was an issue caused by the join node forcibly completing a join when in manual mode even when it wasn't wanted (as the parts property flagged that it was the last in the sequence) - But some users relied on this manual mode (mis-)behaviour and the change to make manual mean manual in #4408 has broken them.

By adding this option to add msg.complete - will force the join to complete - when the last item has been processed even in manual mode.

Checklist

dceejay commented 3 days ago

Closing this as #4796 is a better fix