"Filter by filename" property of the activity "UiPath.MicrosoftOffice365.Activities.Mail.DownloadEmailAttachments" does not work properly

When i use the “Filter by filename” property of the activity “UiPath.MicrosoftOffice365.Activities.Mail.DownloadEmailAttachments” in version “UiPath.MicrosoftOffice365.Activities 3.4.10” and also not in version “3.5.10” none of the attachments will be stored anymore in the described folder location.
In this example i have a mail message, which has 3 attachments called “Outlook-Logo voor .png”, “SAP2.txt”, “Verslag LOG107A.CSV”
When i use “SAP2.txt” as filter my result will be the attachment “SAP2.txt”
When i use “Verslag LOG107A.CSV” as filter my result will be no attachment.
When i use the filter “Verslag*” my result will be the attachment “Verslag LOG107A.CSV”.
When i use the filter “Verslag *” my result will be all 3 attachments.
When i use the filter “Verslag L*” my result will be no attachment.
So it looks like a space " " is not handled correctly
does anyone of you can help me out with this.

@marco.vanzanten2

Can you try to used advanced wizard and build the filter if you click plus you would get option

cheers

Anil,
Thanks for your answer.
Now i also learned that the advanced search is available as well.
And it provides me with the solution.

But the results are as following:
When using File Name equals “Verslag LOG107A.CSV”, my result will be no attachment.
When using File Name equals “Verslag LOG107A”, my result will be the attachment “Verslag LOG107A.CSV”.
When using File Name contains “Verslag”, my result will be the attachment “Verslag LOG107A.CSV”
When using File Name contains “Verslag*”, my result will be no attachment
When using File Name contains "Verslag ", my result will be the attachment “Verslag LOG107A.CSV”
When using File Name contains “Verslag L”, my result will be the attachment “Verslag LOG107A.CSV”
When using File Name contains “Verslag LOG107A.CSV”, my result will be no attachment
When using File Name contains “Verslag LOG107A”, my result will be the attachment “Verslag LOG107A.CSV”
When using File Type contains “csv”, my result will be no attachment
When using File Name contains “CS”, my result will be the attachment “Verslag LOG107A.CSV”
Conclusion.
In the advanced filter, the extension should be handled seperately and may not be added to the File Name.
And Wildcards are not possible
And the File Type should be exactly the same as in the name, case sensitive.

But still a bit of a strange behaviour in “Filter by Filename”
I will check the “Attachment name” filtering of the activity UiPath.microsoftoffice365.activities.mail.GetEmailListConnections as well

1 Like

@marco.vanzanten2

filename and type are separate so can use both ..name is without extension.

glad it helped

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.