It seems that there is an initialization / sync issue for email AttachmentCollection when looping over the emails
Constraints:
Email has attachments, Emails are retrieved within the flow
Steps for replication:
Use Desktop Outlook
For each Email Acitivty
Check Attachment Count
Issue:
Result is 0 / Empty Email Collection
Observation:
But when Save attachments activity is used for this email, the attachments are saved
Checking the Attachments Count again after Save Attachments Activity execution, the count is correct retrieved
I have it a quick test and it looks to be broken on UiPath.Mail.Activities 1.12.3, but works as expected when I upgraded to the preview version 1.13.1-preview
HI @ppr. Updating the issue. It is not working with the updated version also. My workflow uses the Use Outlook 365 Scope.
I am attaching some screenshots for reference.