cancel
Showing results for 
Search instead for 
Did you mean: 

Get unread email using the new Outlook VBO

Venkata_Pranav_
Level 6
I'm trying to use the action, Get Received Items (Advanced) and use [unread]=True in Filter Expression. I keep getting an error.  Do I have to configure it before even getting the received items?  Do I need to have a data item [unread] in my process?  I'm missing something here and I'm stuck. 
Pranav
3 REPLIES 3

david.l.morris
Level 14
Do you have quotation marks around the entire Filter Expression? It should look like this: ""[unread]=True"" The way to think of it is that Outlook needs to receive [unread] as plain text so that it can interpret this as its own variable rather than Blue Prism inserting the underlying data before sending to Outlook.  
Dave Morris 3Ci at Southern Company Atlanta, GA

Venkata_Pranav_
Level 6
Thanks David. It worked a couple of times. But now, I get this error. I closed Outlook and reopened again. Did the same with Blue Prism.    Object variable or With block variable not set.
Pranav

​Hi,

Did you get this issue resolved? I'm getting this error randomly, in get received items stage randomly. Can't figure out what is causing this issue.

Thanks,
Vipin

------------------------------
Vipin Madathum Padikkal
------------------------------