We have setup a Event Listener to watch for arrival of files and to start a jobflow when they arrive.
We need to have a jobflow only run one at a time, but multiple files can land in short order.
We created the file listener:
Type of Check: File Added
Filename match type: Regex filename match
Check every seconds: 300
Trigger task when file has not changed for X Check: Unchecked
Ignore Empty: Checked
We configured the jobflow:
but they run concurrently.
(The jobflow calls other jobflows, and a graph.) The toplevel jobflow the Event Listener is configured to start is what we change to configuration on to say only run 1, but queue up others if multiple files are present.