In my case after completion of some activity , a mail gets generated and received automatically in the outlook with an attachment. I need to check if this mail has arrived in the inbox and whether it has attachments(.pdf) or not.
Thanks for the quick response.
Yes it worked, but i need to check
whether it contains .pdf attachment or not
Suppose m using some click activity before checking mail part. So my concern here is if mails were going after 2 minutes of performing my last activity then how can I check till that interval whether mail is received or not
Take a If condition after the Get outlook mail messages activity, In Get outlook mail message activity property check the unread mails option.
In If write the condition like mailList.Any if there is new mails it will read and save the attachments in the then block. In else block give the delay for 2 mins and do the next steps.
Check the below workflow for better understanding.