I'm working on a Power Automate Desktop flow that checks the number of attachments in an email. CurrentItem.Attachments.Count always returns zero even when there is an attachment.
Is this a bug? Has anyone run into this issue before? Is there a work-around?
Hi,
I think it might be a bug. I've tried to use the "Save Attachments" option and it works. The downside is that the files are actually saved locally but you can do some post-actions to erase them.
The other problem I stepped into was: my email had 3 real attachments but PAD has detected 7 (5 of them were signature images...).
Maybe this can help you a bit, although it seems that Microsoft still needs to improve this action.
Cheers.
Hi @CpxDev1 ,
You need to select the Save Attachments option for PAD to identify & download the attachments.
If it is not selected, the %CurrentItem.Attachments% would be an empty list. As a result, the %CurrentItem.Attachments.Count% would return 0.
Thanks,
Shrav