on 10-17-2023 2:17 PM
Hi folks,
I have a requirement where, the SF team will post multiple report files (regardless of file formats) into the SF SFTP.
CPI needs to pull all those files and send a single mail to recipients with all those files as attachments.
Things I have done,
I thought of gathering it in a zip file using gather step but its not working.
Mail adapter config:
If someone has worked on the same scenario, do throw some idea over it.
Thanks.
Do you know if the number of files is constant or it could be dynamic? Based on that you may need a loop terminating condition. You could inside the loop, after fetching the file, add that to attachment of the message object in a groovy. Once you terminate the loop, make sure in the mail adapter, attachments are allowed to be sent over.
Just my initial thoughts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.