cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Outlook

VipinMadathum_P
Level 4
​Hello,

We have a shared mailbox and we have a process developed to automatically send replies to all the emails in Inbox and move them to a Inbox subfolder.

Previously we were using MAPI Ex and it was working fine until, we encountered an issue where it will fails to move mails from Inbox to a Inbox subfolder. The error message used to be Failed to move message and it is not consistent. Sometimes it fails when it tries to move the 9th email sometimes 16th email like that... The same process was working in PROD for more than 6 months without any issues.

As a resolution, we changed from MAPI Ex to Outlook VBO and we still have the same issue. The error message is different though(Operation has failed). Also it is not consistent. It fails after 16 emails sometimes. Sometimes more than that.. It is randomly occurring.

ERROR: Internal : Could not execute code stage because exception thrown by code stage: The operation failed.

So having tried both MAPI Ex and Outlook VBO, could somebody suggest on what could be the issue?

Thanks,
Vipin

------------------------------
Vipin Madathum Padikkal
------------------------------
1 BEST ANSWER

Helpful Answers

Hi Vipin,

The updated version of Outlook VBO shipped with v6.8 does not support moving emails within Shared Mailbox. The support will be offered in subsequent release. In the meantime, you can have a go with the attached VBO to achieve this feature.

I will stress that you must thoroughly test this VBO in a lower environment prior to migrating to your Production environment.
NOTE: There are other code changes in addition to Shared Mailbox in the VBO which may affect the current code in Production.

Furthermore, I will advise that you migrate to the new official VBO once it is released. Please keep a look out in the Release Notes of future version.
The VBO will not be supported as it is not yet official. It is provided as is.

[IMPORTANT] One of the pre-requisites for the "Move" feature to work is that you must ensure the folder can be downloaded to the machine for the code to read. For more information and instructions, please read the following Microsoft article: 
https://support.microsoft.com/en-gb/help/982697/by-default-shared-mail-folders-are-downloaded-in-cached-mode-in-outlook 

Hope this helps.

------------------------------
Bruce Liu
Senior Product Consultant, Professional Services
Blue Prism
Australia/Sydney
------------------------------

View answer in original post

5 REPLIES 5

InJoeKhor
Staff
Staff
Hi Vipin,

Have you made sure you have updated to the latest Blue Prism version and have imported all of the necessary libraries?

From what I have seen so far, this could be probably because one of the references for libraries might be missing .
Please check if you have "Outlook.dll" in your Blue Prism Automate folder. The DLL must be present in order for the VBO to work.

Thanks,
In Joe


------------------------------
In Joe Khor
Sr. Product Consultant
Blue Prism
------------------------------
In Joe Khor Sr. Product Consultant Blue Prism

bruce.liu
Staff
Staff
Hi Vipin, 

Current versions of BP Outlook VBO does not support moving emails within Shared Mailbox. We are looking at providing capability in the upcoming release. Please monitor the release notes for the annoucement.

Also to note that, the DLL required for BP Outlook VBO is called Microsoft.Office.Interop.Outlook.dll, version 14.0 is shipped with the core BP software.

------------------------------
Bruce Liu
Senior Product Consultant, Professional Services
Blue Prism
Australia/Sydney
------------------------------

expertcr
Staff
Staff
I have a question for you, What is your versions or Blue Prism, and are you using the MS Outlook VBO included in your product?

How for example, if you try to read a message from a Share Folder in the Inbox or Subfolder, then respond to this message and moved to another Subfolder also part of Inbox, if that is the case. Blue Prism 6.8 includes a new MS Outlook VBO that supports that.

If you just need the VBO please create a ticket by contacting us at support@blueprism.com or create a ticket in the Portal.

------------------------------
Luis Lopez
Customer Support Engineer English and Spanish
Blue Prism Ltd
------------------------------

​Hi Luis,

We read all emails from the inbox, for each email in the collection, we validate - if validation is successful, then reply to the email and move it to an Inbox's subfolder. If validation is not successful, move the email to another Inbox's subfolder.

Since move was failing, we removed that logic and now marking all the emails as read and started keeping them within the Inbox itself.

We encountered this issue back in October 2019 when we were using BP 6.3. Now we are in version 6.6.

Could this new Outlook VBO that supports move(move was available in the older version as well - but it was not consistent?) be used with BP version 6.6? At this point we are not planning to upgrade to version 6.8.

Thanks,
Vipin

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

Hi Vipin,

The updated version of Outlook VBO shipped with v6.8 does not support moving emails within Shared Mailbox. The support will be offered in subsequent release. In the meantime, you can have a go with the attached VBO to achieve this feature.

I will stress that you must thoroughly test this VBO in a lower environment prior to migrating to your Production environment.
NOTE: There are other code changes in addition to Shared Mailbox in the VBO which may affect the current code in Production.

Furthermore, I will advise that you migrate to the new official VBO once it is released. Please keep a look out in the Release Notes of future version.
The VBO will not be supported as it is not yet official. It is provided as is.

[IMPORTANT] One of the pre-requisites for the "Move" feature to work is that you must ensure the folder can be downloaded to the machine for the code to read. For more information and instructions, please read the following Microsoft article: 
https://support.microsoft.com/en-gb/help/982697/by-default-shared-mail-folders-are-downloaded-in-cached-mode-in-outlook 

Hope this helps.

------------------------------
Bruce Liu
Senior Product Consultant, Professional Services
Blue Prism
Australia/Sydney
------------------------------