Hi @Edwin_Barahona,
Thanks for your response! I would like to use the Save Attachments activity after I have filtered through the emails. Emails that contain file types other than .xlsx or .csv need to be removed from the list of MailMessages before I can save attachments.
For example:
Email1 attachments: file.xlsx, file.csv → KEEP MAIL OBJECT IN LIST
Email2 attachments: file.csv → KEEP MAIL OBJECT IN LIST
Email3 attachments: file.xlsx, file.csv, file.jpg → REMOVE FROM LIST (contains .jpg file)
Email4 attachments: file.txt → REMOVE FROM LIST (does not contain .xlsx or .csv)
I need to iterate through the list of emails from the Get Outlook Mail Messages activity and remove Mail objects that contain file types other than .xlsx or .csv. I just can’t figure out how to build an activity + conditional statement that will fulfill this filter.
After I have filtered the emails in the List, I will then use the Save Attachments only for the remaining emails, Email1 and Email2.
Hope this helps to clarify, thanks!!