File Input node msg.last
Description
Hi all,
I was just wondering if it was possible to add a msg.last = true to the 'file input' node output, to indicate when the last file in a batch has uploaded, when uploading multiple files? Hopefully this makes sense.
Cheers.
Have you provided an initial effort estimate for this issue?
I am no FlowFuse team member
If you attach a Complete node to the File Input node does it get triggered when the uploads are complete? That would be the ideal behaviour.
@pest-tech did you see my question?
@colinl Apologies Colin. I've been offshore chasing wallabies.
I've set up a 'complete' node triggered by the 'file input' node and it doesn't appear to output anything, either when any of the files have completed uploading or when all of them have.
That is unfortunate. That might be a good solution to this issue. It would need someone with more knowledge than myself to implement it.
It's not the end of the world Colin. I've just implemented a trigger node with a five second delay as the files I'm using with this flow aren't particularly large. It's safe for the flow to assume all of the file have uploaded after five seconds of nothing happening and it continues with the process.
Thanks anyway.