I have a workflow with a Local File Trigger node that watches, processes and stores csv files. When active, I see the workflow spawns n number of times each with an unique id where n is number of files moved to the watched folder at once
I also do a post-processing Execute command at the end of the workflow. This command expects all the n files to be processed and ready in tmp directory. Is it possible to await all the workflow instances before executing this final node (command)?
For now I am sleeping the Python script until file count matches. Is there a better solution?
Note: all env variables are default.