I would like to stop reading data from a file if certain conditions are met. For example, when file creation date is older than today, I don't want 'Dynamic Input' to read the input files.
Currently I add a filter tool before the 'Dynamic Input', when the filter tool return true value, the input data will be read by 'Dynamic Input' tool in the next step. However when the filter tool returns false value, no data are read by 'Dynamic Input' tool in the next step but system returns an error saying file is not found and stop the workflow. This is against my request as I only need to stop the 'Dynamic Input' tool instead of the whole workflow.
To avoid this, I am thinking setup the default file without any data in 'Dynamic Input' tool. But are there another way to do this? What I actually want is to stop the 'Dynamic Input' tool if the filter tool returns false value. Thanks.