cancel
Showing results for 
Search instead for 
Did you mean: 

Can't retrieve emails using Outlook SDK in SAP Build Process Automation

AdrDen
Participant
0 Kudos
607

Hi,

I have a problem with task Search Email (Outlook) automation in SAP Build Process Automation using Outlook SDK. I'm picking emails from specific folder to further process and move to another folder.

The problem is that when I run my automation in Attended Mode in Desktop Agent, no email is found when lauching for the first time. Then I click 'start' again, an email is correctly found, so the flow goes on. In summary emails are properly picked from given folder, but only second time I launch my automation. There are no exceptions/failures, just 0 emails found.

I think my setup is correct, I Open Outlook Instance, then Search Email, and Release + Close Outlook instance at the end.

What could be the problem here? I'm using latest SDK version from the store.

BR,

Adrian

View Entire Topic
MartinaKolafova
Participant
0 Kudos

I would implement a workaround by including the 'search email' activity twice within a single action, utilizing the second output 🙂 

AdrDen
Participant

Interesting take, but probably not best way of fighting these issues. It started to work even worse, so it catches mails randomly. Tried different things, also serching mails twice (as workaround), but didn't help. At the moment I'm just disappointed with Outlook SDK. Thank you for responding! 🙂