Hi team ,
Currently I want to check if a subfolder inside “Inbox” in outlook exits or not?
Any inputs will be of great help here!
Regards,
G
Hi team ,
Currently I want to check if a subfolder inside “Inbox” in outlook exits or not?
Any inputs will be of great help here!
Regards,
G
Hi @gokul1904 ,
Since there is no obvious way to do that we have to user TryCatch Activity as below workflow
MailFolder.xaml (3.6 KB)
Thanks,
RajKumar
You don’t need to do it that way. You put your “Then” steps at the end of the Try, and the “Else” steps in the Exception block. The ExceptionMsg variable and If activity are unnecessary.
Hello. I found the next useful link:
https://forum.uipath.com/t/how-to-check-subfolders-inside-a-folder-in-outlook/339201
It was the same problem with checking if an Outlook folder exists, or not.
Someone was trying to use the next expression:
OutlookApp.Session.DefaultStore.GetRootFolder().Folders
Hope it helps, Adrian