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,
Hi stephen.xue,
We could schedule twice but not exactly at 2pm and 7pm. But with below example you could schedule at 2pm and 8pm if that helps.
So the interface would poll at 14hrs and again at 20hrs (because of retry is every 6hrs).
There is no option to retry after every 5hrs else we could schedule at 19hrs as well.
Hope this helps !
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
5 | |
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.