Object Studio

Expand all | Collapse all

Unable to Invoke Subscribers

  • 1.  Unable to Invoke Subscribers

    Posted 11 days ago
    ​Hi,

    I keep running in to this error but I'm unsure as to what is causing it -

    Internal : Failed to perform step 1 in Navigate Stage 'Click Job Collection' on page 'Job Wizard' - An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)

    My Navigate stage is to click on a button within an in-house piece of software. The button has been spied in UIA mode, and the actual Press action is being passed to the software as the next window appears, but BP doesn't seem to register this, and throws the error every time.

    Could anyone point me in the right direction to resolving this?

    Thanks,

    Emma.

    ------------------------------
    Emma Burns
    Ground Control Ltd
    Europe/London
    ------------------------------


  • 2.  RE: Unable to Invoke Subscribers

    Posted 11 days ago
    When doing this, prior clicking event, maybe is safe to check if the robot is attached to the object parent window of the combo box.Create a flag with false and a decision stage, if is attached/activated and then if Yes--do the click if No--retry. You can put a i++ stage to increase the value plus 1 and then to retry for e.g. 5 times till an error is to be thrown.

    ------------------------------
    Ionut Cohen
    RPA Developer
    Luxoft Romania
    Europe\Bucharest
    ------------------------------



  • 3.  RE: Unable to Invoke Subscribers

    Posted 11 days ago
    ​I'm definitely attached, but I have tried anyway and had no difference.

    I also ran in to the same error message when spying - when I pressed highlight on an element that I use in an existing process, I got the "An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)" error message, but the process runs through fine when passed to the Runtime resource.

    I haven't seen this error in any of my other objects, only on this in-house software - could it be something to do with how it's built?

    ------------------------------
    Emma Burns
    Ground Control Ltd
    Europe/London
    ------------------------------



  • 4.  RE: Unable to Invoke Subscribers

    Posted 11 days ago
    if there are Inputs/Outputs, maybe in Object Stage you can add a current value. Sometimes Object Stage requires different variables to run etc.

    ------------------------------
    Ionut Cohen
    RPA Developer
    Luxoft Romania
    Europe\Bucharest
    ------------------------------