Workflow broke after Windows 10 upgrade - Item.Body.ToString is blank

Hello

My organisation recently upgraded to Windows 10 from Windows 7. I had a workflow I was building which has now stopped working.

I am capturing information from Outlook emails into Excel using the “Get Outlook Mail Messages”. As part of this process I am using a for each activity to process each email individually.

Within the “for each” activity I am using the following in an Assign activity:
Str_emailBody = “item.body.tostring”

Since upgrading to Windows 10 the email body is now showing as nothing (“”)

And throws errors because the email body is blank. My next step is to use Regex to get the enquiry suitable for the excel spreadsheet.

I am unable to continue developing this workflow until I solve this problem. I cannot find anything on the forums about the Windows 10 upgrade causing this error.

image

image

Any help is appreciated :slight_smile:

@Steven_McKeering

I believe Its the issue with the Outlook application

You can check the Outlook application which you installed is compatible to Windows 10 or not

Check below link for reference

I am using Outlook 2016 with no issues

Hope this may helps you

2 Likes

@Steven_McKeering

Check below post also

Hope this may helps you

Thanks

2 Likes

Hello

I am running Outlook in Office365.

Am I missing something?

1 Like

@Steven_McKeering

As you are using Office365, then try to use Office365 Outlook Activities

Check as below

image

Also you can check the documentation below
https://docs.uipath.com/marketplace/docs/outlook

Hope this helps you

Thanks

1 Like

Hello

Update - The normal Outlook Mail activities still work but the cause of the problem was an IT security change…

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