Hi,
We have a scenario where we get multiple files as input at a SFTP server and we need to read all those files and send emails. We tried to use Transfer File activity, it could read all the files but while processing the data in further activities only the last file record are considered.
The file nomenclature is Marketinglist_<n>.csv where n is an integer.
so lets say we have files marketinglist_1.csv, marketinglist_2.csv so on. Each file may have varied number of records. we can to send email to each of these records.How can we achieve that?
any help will be appreciated.
Thanks!!
Vikash
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You can select the option to generate an outbound transition in case no file is present. And loop your update activity back to 'Transfer file' activity. It will loop and perform operation until there are files present in your SFTP location.
Thanks.
HI Vikash,
In your transfer file activity when you give the file path for download are you giving as Marketing* to load all the files and process them. Ideally it should process all the files.
Thanks,
cl
Views
Replies
Total Likes
Hi Cl,
yes I am giving marketing* and it downloads all the files as I can see in the logs. but when we pass it through other activities like load file, enrichment etc. only one file records are processed.
Thanks!!
Vikash
Views
Replies
Total Likes
Hi,
You can select the option to generate an outbound transition in case no file is present. And loop your update activity back to 'Transfer file' activity. It will loop and perform operation until there are files present in your SFTP location.
Thanks.
Thanks Jyoti!! It worked!!
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies