cancel
Showing results for 
Search instead for 
Did you mean: 

Object invoked error

Vijay_KumarMata
Level 3
Hi,

I'm getting an error saying "object invoked has been disconnected" while running a process. I'm not sure why BluePrism through the error. After attach\activate error still persists. Can you help out to resolve the issue.

Regards,
Vijay Kumar​

------------------------------
Vijay Kumar Matampalli
System Engineer
Fidelity Information Services
Indian/Christmas
------------------------------
13 REPLIES 13

HazemFarajallah
Level 4

hello, 

it can happen if you call an object from another "which is not recommended", can you give us more details.



------------------------------
Hazem Farajallah
RPA-developer
e-on
Europe/Stockholm
------------------------------

Hi,

Thanks for your answer​!!!


Please find the screenshot for reference.

Regards,
Vijay Kumar.


------------------------------
Vijay Kumar Matampalli
System Engineer
Fidelity Information Services
Indian/Christmas
------------------------------

are you using excel vbo?

------------------------------
Hazem Farajallah
RPA-developer
e-on
Europe/Stockholm
------------------------------

Hi Hazem,

Yes!! we do use excel VBO



------------------------------
Vijay Kumar Matampalli
System Engineer
Fidelity Information Services
Indian/Christmas
------------------------------

Why would it be not recommended to call one object from another?

------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------

Dave Morris, 3Ci at Southern Company

I can't really see how you are using it  so i recommand you go through BP Excle VBO docs 

https://portal.blueprism.com/system/files/2017-11/Excel%20Automation%20Guide.pdf

https://portal.blueprism.com/system/files/2017-11/Extending%20MS%20Excel%20VBO.PDF



------------------------------
Hazem Farajallah
RPA-developer
e-on
Europe/Stockholm
------------------------------

Many things, if you take a look at the best practice 😉

for example memory usage? why calling two objects same time while you can call them from the process,

"that's my first process and I had very low memory issue " 



------------------------------
Hazem Farajallah
RPA-developer
e-on
Europe/Stockholm
------------------------------

I have read the best practice document and related documents many times and there's no mention of any performance concerns from calling one object from another. In fact, I would disagree and suggest that it is best practice to use levels of objects when building a reusable framework of objects. It would be severely limiting to suggest that objects should only be called from the process level and that objects cannot take advantage of other objects. That's like saying all functions should be directly called from the main method.

------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------

Dave Morris, 3Ci at Southern Company

here https://portal.blueprism.com/system/files/documents/Object%20Design%20Guide.pdf 

Section 2.2 has described how this large object will be consumed into the memory of any resource pc that is
running any process that automates the ERP system in the example 😄



------------------------------
Hazem Farajallah
RPA-developer
e-on
Europe/Stockholm
------------------------------