How to pass condition in if activity for new mail in outlook

Hi

How to pass condition in if activity if new mail available it continue to then if no new mail condition will choose else

Thanks in advance

Hi @jai_kumar2, you can use the condition “RetrievedMails.Count>0” in the If condition. “RetrievedMails” is the output variable for Get Outlook Mail Messages activity.

1 Like

Hi @jai_kumar2, I forgot to mention that ‘OnlyUnreadMessages’ property has to be selected to check for new mails and it is also expected that older mails are marked as read.

Hi Vamsi,
Thanks for the reply

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