<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Object invoked error in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93387#M42974</link>
    <description>Hi Hazem,&lt;BR /&gt;&lt;BR /&gt;Yes!! we do use excel&amp;nbsp;VBO&lt;BR /&gt;&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vijay Kumar Matampalli&lt;BR /&gt;System Engineer&lt;BR /&gt;Fidelity Information Services&lt;BR /&gt;Indian/Christmas&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 10 Jul 2019 09:40:00 GMT</pubDate>
    <dc:creator>Vijay_KumarMata</dc:creator>
    <dc:date>2019-07-10T09:40:00Z</dc:date>
    <item>
      <title>Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93383#M42970</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm getting an error saying "object invoked has been disconnected" while running a process. I'm not sure why BluePrism through the error.&amp;nbsp;After attach\activate error still persists. Can you help out to resolve the issue. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vijay Kumar​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vijay Kumar Matampalli&lt;BR /&gt;System Engineer&lt;BR /&gt;Fidelity Information Services&lt;BR /&gt;Indian/Christmas&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 05:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93383#M42970</guid>
      <dc:creator>Vijay_KumarMata</dc:creator>
      <dc:date>2019-07-10T05:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93384#M42971</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it can happen if you call an object from another "which is not recommended", can you give us more details.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hazem Farajallah&lt;BR /&gt;RPA-developer&lt;BR /&gt;e-on&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 08:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93384#M42971</guid>
      <dc:creator>HazemFarajallah</dc:creator>
      <dc:date>2019-07-10T08:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93385#M42972</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your answer​!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please find the screenshot for reference.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vijay Kumar. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vijay Kumar Matampalli&lt;BR /&gt;System Engineer&lt;BR /&gt;Fidelity Information Services&lt;BR /&gt;Indian/Christmas&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 08:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93385#M42972</guid>
      <dc:creator>Vijay_KumarMata</dc:creator>
      <dc:date>2019-07-10T08:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93386#M42973</link>
      <description>are you using excel vbo?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hazem Farajallah&lt;BR /&gt;RPA-developer&lt;BR /&gt;e-on&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 09:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93386#M42973</guid>
      <dc:creator>HazemFarajallah</dc:creator>
      <dc:date>2019-07-10T09:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93387#M42974</link>
      <description>Hi Hazem,&lt;BR /&gt;&lt;BR /&gt;Yes!! we do use excel&amp;nbsp;VBO&lt;BR /&gt;&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vijay Kumar Matampalli&lt;BR /&gt;System Engineer&lt;BR /&gt;Fidelity Information Services&lt;BR /&gt;Indian/Christmas&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 09:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93387#M42974</guid>
      <dc:creator>Vijay_KumarMata</dc:creator>
      <dc:date>2019-07-10T09:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93388#M42975</link>
      <description>Why would it be not recommended to call one object from another?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 10:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93388#M42975</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-07-10T10:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93389#M42976</link>
      <description>&lt;P&gt;I can't really see how you are using it&amp;nbsp; so i recommand you go through BP Excle VBO docs&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://portal.blueprism.com/system/files/2017-11/Excel%20Automation%20Guide.pdf" target="_blank" rel="noopener"&gt;https://portal.blueprism.com/system/files/2017-11/Excel%20Automation%20Guide.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://portal.blueprism.com/system/files/2017-11/Extending%20MS%20Excel%20VBO.PDF" target="_blank" rel="noopener"&gt;https://portal.blueprism.com/system/files/2017-11/Extending%20MS%20Excel%20VBO.PDF&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hazem Farajallah&lt;BR /&gt;RPA-developer&lt;BR /&gt;e-on&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 10:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93389#M42976</guid>
      <dc:creator>HazemFarajallah</dc:creator>
      <dc:date>2019-07-10T10:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93390#M42977</link>
      <description>&lt;P&gt;Many things, if you take a look at the best practice &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;for example &lt;STRONG&gt;memory usage&lt;/STRONG&gt;? why calling two objects same time while you can call them from the process,&lt;/P&gt;
&lt;P&gt;"that's my first process and I had very low memory issue "&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hazem Farajallah&lt;BR /&gt;RPA-developer&lt;BR /&gt;e-on&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 10:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93390#M42977</guid>
      <dc:creator>HazemFarajallah</dc:creator>
      <dc:date>2019-07-10T10:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93391#M42978</link>
      <description>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.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 10:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93391#M42978</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-07-10T10:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93392#M42979</link>
      <description>&lt;P&gt;here&amp;nbsp;&lt;A href="https://portal.blueprism.com/system/files/documents/Object%20Design%20Guide.pdf" target="_blank" rel="noopener"&gt;https://portal.blueprism.com/system/files/documents/Object%20Design%20Guide.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Section 2.2 has described how this large object will be consumed into the memory of any resource pc that is&lt;BR /&gt;running any process that automates the ERP system in the example &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hazem Farajallah&lt;BR /&gt;RPA-developer&lt;BR /&gt;e-on&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 10:44:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93392#M42979</guid>
      <dc:creator>HazemFarajallah</dc:creator>
      <dc:date>2019-07-10T10:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93393#M42980</link>
      <description>That's referring to the size of an object and that it's best practice to split actions up into separate objects so that processes do not need to load the whole thing into memory if they don't need to use it. This is not discouraging calling objects from other objects. You'll also notice that in several of the Blue Prism-provided VBOs, objects call other objects.&lt;BR /&gt;&lt;BR /&gt;I agree that if you can call an object from the same layer (the process layer preferably), it could be best to do so. But, at the same time, I personally have never run into an issue of object instances causing memory issues. I've run into several other situations such as huge collections causing memory issues for sure. But I've even done recursive calls which can instantiate A LOT of instances of the object with no noticeable impact to memory. I'm not saying it's best to do that but I think you're underestimating the capability to load many instances of an object into memory.&lt;BR /&gt;&lt;BR /&gt;Anyway, good discussion. I see your point as far as avoiding large objects being loaded into memory multiple times because they're called from various layers.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jul 2019 10:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93393#M42980</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-07-10T10:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93394#M42981</link>
      <description>I completely disagree, I see that it's absolutely worth having every call of objects from the process level. Mainly because it makes it easier for anyone who views the process since the flow is easier to follow (there's no need to dig deep),&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #7a7a7a; cursor: text; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; one get's to see exactly what actions are being used &lt;/SPAN&gt;and the framework for how you build reuseable objects also enhanced, because you won't cram in a lot of interaction with an application in one action/object.&lt;BR /&gt;&lt;BR /&gt;It is also stated in the "Blue Prism - Development Best Practice" document that this is how it should be as well (page 11) "Do not call published actions from within an object".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;&lt;BR /&gt;Joakim&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Joakim Eklund&lt;BR /&gt;Senior RPA Developer&lt;BR /&gt;Swedbank AB&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jul 2019 06:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93394#M42981</guid>
      <dc:creator>joakimeklund</dc:creator>
      <dc:date>2019-07-11T06:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93395#M42982</link>
      <description>&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Hazem Farajallah&lt;BR /&gt;RPA-developer&lt;BR /&gt;e-on&lt;BR /&gt;Europe/Stockholm&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jul 2019 06:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93395#M42982</guid>
      <dc:creator>HazemFarajallah</dc:creator>
      <dc:date>2019-07-11T06:55:00Z</dc:date>
    </item>
    <item>
      <title>RE: Object invoked error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93396#M42983</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/17187"&gt;@joakimeklund&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Objects can have many purposes, including at least two big categories of utilities and application UI interaction. I'm assuming you're more referring to objects that handle interaction with a specific application. Is that right? Because if so, I'm more referring to utilities such as strings or json. The reason you should not abandon allowing objects to call other objects is that you lose the ability for reuse in so many ways. Think of string manipulation. If I build an object that is supposed to retrieve data using a web service or even from the UI of an application, it is often necessary to do some string manipulation so that just the right value is passed back to the process or the object can do some validation to ensure the value was actually retrieved or whatever. We lose the opportunity for reuse if we don't call the Utility - Strings actions from within this object. Surely you wouldn't suggest that raw data be passed back to the process every time for you to build in logic to parse that data every time.&lt;BR /&gt;&lt;BR /&gt;As I pointed out before, Blue Prism has already demonstrated the benefit of this. Look at the Webservices - REST object. It calls the Utility - JSON object, the Webservices - OAuth2.0 object, and the Utility - HTTP object​​​. To require all object calls from the process level would mean much more complex logic than is necessary.&lt;BR /&gt;&lt;BR /&gt;A further reason for allowing objects to call other objects is for unit testing. I often see Blue Prism processes designed with an excessive number of stages and pages. Because you cannot call into a Blue Prism process except to the Main Page, it becomes very difficult to unit test any logic within it. By moving the logic into objects that can be called at any point, you can enable both reuse and unit testing since you can call those object actions and testing specifically the logic inside them.&lt;BR /&gt;&lt;BR /&gt;Another quick example to show what I mean. The most common interaction I see with the MS Excel VBO is Create Instance, Open Workbook, Get Worksheet As Collection, and Close Instance. It's not always like that but I see it very frequently. We built a reuse action in an object that takes the name of a workbook, etc. and performs those 4 actions for us. Now anytime I have the basic requirement of just getting the full collection of data from a spreadsheet, I only need to call one action to make that happen. This action can be called from inside of an object or from a process and it works really well.&lt;BR /&gt;&lt;BR /&gt;For your second paragraph about page 11, this is different from what I was disagreeing with. It is talking about calling the actions in the same object because it's possible to use a page reference to refer to the same instance of the object rather than instantiate a new object instance. If you were disagreeing with my talking about recursion, I would agree with you that it's really not a great idea in Blue Prism due to memory limitations. I was merely noting that I've tested having a ton of instances of an object before with no noticeable issues but I wasn't suggesting it's a good idea.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jul 2019 10:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-invoked-error/m-p/93396#M42983</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-07-11T10:36:00Z</dc:date>
    </item>
  </channel>
</rss>

