Ben,

The Wait processor is not intended for this purpose. It’s intended to be used 
along with the Notify processor. So the processor will block FlowFiles going 
forward until the Notify processor indicates that the FlowFile should be 
released.

Take a look at ListSFTP’s “Minimum File Age” property. You can set that to say 
1 minute. That will avoid listing the file until it’s at least 1 minute old.

Or, alternatively, you can configure FetchSFTP to retry failures and set the 
Penalty Duration to 1 minute. That way, if it fails, it will wait 1 minute and 
try again, up to the configured number of retries.

Thanks
-Mark


> On Jun 26, 2022, at 6:31 AM, Ben .T.George <bentech4...@gmail.com> wrote:
> 
> Hello,
> 
> How to configure the wait process along with ListSFTP process because before 
> fetching the file i need to run a schedule to change the permission of the 
> file which runs every minute.
> 
> <image.png>
> 
> Regards,
> Ben

Reply via email to