Digital Exchange Community

Expand all | Collapse all

MS Outlook VBO- Forward Email

  • 1.  MS Outlook VBO- Forward Email

    Posted 09-20-2019 13:37

    Hoping someone might be able to help.

    I've been using the Ms Outlook VBO for the purpose of forwarding emails using 'Entry ID' as input.

    My logic has been working perfectly up until now but all of a sudden ​I'm getting error 'Could not execute code stage because exception thrown by code stage: The operation failed'.

    I believe the Entry ID is causing the problem and its not been seen by BP when executing the code. I'm using Outlook 2016.

    Any ideas as to what the issue might be? As I say I'm aware forwarding some subfolders can cause issues so my solution ensures any folders are at the same level as 'inbox' and its worked fine until now.

    Thanks in advance.

    Paul Curran
    AXA Ireland

  • 2.  RE: MS Outlook VBO- Forward Email

    Posted 09-23-2019 18:37
    Edited by Ami Barrett 09-24-2019 06:44
    Just curious - You say that the Entry ID is not currently seen by BP. How are you trying to retrieve it? Is it immediately after parsing from Get Mail/Get Received Items, or are you interacting with the mail item between getting getting the initial info for it and forwarding it?

    Ami Barrett
    Lead RPA Software Developer
    Solai & Cameron
    Richardson, TX

  • 3.  RE: MS Outlook VBO- Forward Email

    Posted 09-25-2019 08:45



    I'm using 'Get Emails by Subject' from NEOOPs Ms Outlook VBO to retrieve the Entry ID on Process 1. I then interact with any applicable emails, save attachments, send attachments for OCR and then I move said email into another folder at the same level as 'Inbox'. I pass Item Data from this queue to the queue for Process 2.


    Process 2 picks up the OCR output, runs through the remainder of the logic and at that stage I forward the original email to the business area. Its whenever I use 'Forward Email' from MS Outlook VBO that I get 'operation failed'. It can be a few days before the output is there to run Process 2.


    I had thought that perhaps this delay between Process 1 and Process 2 could be causing this however I tested it with a new case and ran Process 1 and 2 within seconds and the error persists.




    Paul CURRAN 
    Certified BluePrism Developer
    Robotics Team
    AXA Insurance dac

    Springtown Business Park

    Derry, Co.Derry

    BT48 0GY
    T: 01 8876329
    P Please consider the environment before printing this email.


  • 4.  RE: MS Outlook VBO- Forward Email

    Posted 09-25-2019 19:14
    When you move the mail, it's likely that the ID has changed. I took a look at the NEOOPS VBO and didn't like it that much, so I'm honestly not as familiar with it. I know that the one Blue Prism supplies, also on the exchange, will supply an updated mail id afterward in the outputs.

    Ami Barrett
    Lead RPA Software Developer
    Solai & Cameron
    Richardson, TX

  • 5.  RE: MS Outlook VBO- Forward Email

    Posted 09-24-2019 06:31
    i think you are not attached to the process. Put before each code an attach page to be sure you are on the right process id.

    RPA Developer