cancel
Showing results for 
Search instead for 
Did you mean: 

Practical advice on how to call nested objects

prachaya
Level 2

Hi,

I have looking for practical advice on how to call nested objects more effectively in Blue Prism workflows.

Example.

Process -> ObjectFunction -> ObjectApp

prachaya_0-1730789139934.png

Do you have any concern/risk/suggestion?

Thanks for your advance.

1 REPLY 1

Asilarow
MVP

Hi Prachaya,

Referencing App Objects within other Objects is not recommended due to the below:

 
 Asilarow_0-1730798235898.png

 


The amount of memory used when the process consumes the object into memory will be increased.

This is because when an object refers to another object and is used by a process, both objects are then loaded into memory by the process.

The above example shows a short process containing 3 Objects:

  • Notepad Object
  • Swingset Object
  • Notepad Object with Swingset Launch Action added

 

As can be observed on the diagram, when launching the third Object, that contains all the contents from the Notepad Object and an Action that calls the Swingset Object, both Objects are loaded into memory resulting in higher memory usage.

Please also note that the larger the objects are, the higher the differences will become potentially even causing “System.OutOfMemoryException” errors.

 
Andrzej Silarow