Skip to Content

B1iSN/B1if: Get files from file system and send mail with attachment to receiver

Jan 09, 2017 at 08:49 AM


avatar image


Let's say there are several files (will be generated by a scenario step "B12File") located in a file system where the integration framework is running. now I want to pick up file one by one and send email with attachment via smtp. one attachment per email. and the file name have a subsequent suffix number (e.g. myfile??.xml).

for example, the first time I picked up two files myfile01,myfile02(GetFiles atom) and sent email with attachment one after another by using for-each handling. Now the problem is that how to ensure that only the rest files e.g. myfile03,04 and others will be retrieved next time?

Best regards


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Cameron Fischer May 29, 2017 at 07:40 PM

Hi Jim,

I know this is an old question, if you're still looking for an answer, I've done something similar before. I created an XML document that I stored in the webdav scenario folder and I updated this each time the scenario ran to say what the last file processed was.

You can save and update files in the webdav environment using the persist atom.



10 |10000 characters needed characters left characters exceeded