I have a process checking a folder in Outlook for a new message. I am trying to add an If statement to email me if a message doesn’t exist. I have tried is null and is nothing but neither appears to work. What is the correct syntax to use if I want to check the value for message or should I be checking for an empty folder instead? Thank you!
Hi.
if you are using “Get Outlook Mail Messages” activity, you have a List in output.
So you should check if this List contains an element. ie if listName.Count > 0
1 Like
Hi @Chris_Livesay,
Please find the xaml File for your queryCheck_MailMessage.xaml (4.9 KB) project.json (910 Bytes)
Thanks,
SharmilaSundar
1 Like
Thank you very much! That was exactly what I needed.