on 11-30-2021 10:17 PM
Hi,
I have a very normal requirement: the SFTP sender is to pickup files at 2pm and 7pm twice daily.
Whereas cannot find a straight way to schedule it in the adapter configuraiton. Do I need to create two iflows, one will be triggered at 2pm and the other will be triggered at 7pm daily? it looks a bit ugly.
Regards,
Hello Stephen,
The solution provided by Sriprasad (above) to tweak the i-flow looks good.
I have one more solution to this, just in case if "you are not deleting the file" from your SFTP after polling the file.
1. Hold the execution time in a property parameter ${date:now:yyyy-MM-dd'T'HH:mm:ss}
2. Using router (condition -> if time = 2 PM or 4PM) you can continue the processing
3. Schedule your i-flow for every 2 Hrs.
Just a thought to handle this case...
Regards,
Kris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Kris for your proposal.
User | Count |
---|---|
69 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.