Hi Bartosz,I can't say which is the best using Sub-Process or Object. It depends on the entire design of your process automation. Anyway, I'll provide my feedback based on my experience. First of all, I will take this action
- if it is "Business Logic", "Rules" or "Decision", it should be "Process".
- If it is an action to interact with the target application, it should be "Object". It can be generic actions without interacting with the target application.
After that, if it is "Process" and called by the Master process many times during the process, I would add the "Process" into one of the pages of "Master Process". In this way, the "Process" was loaded in memory space until the Master process was completed. You don't need to worry about the risk of memory leaks. If it is "Process" and called by the Master process a few times. And also the "Process" has to be re-reused by other Master processes, "Sub-Process" can be a possible option.
In terms of memory combustion by Object, please keep each object with fewer elements and actions based on the page of target applications. It depends on the specification of the client machine but if you develop business objects followed by our Best Practice guide, it should be okay.
In any case, please run a stress test in you DEV/UAT environment before the process goes into the Production site.
Cheers,
Nobu
------------------------------
Nobuhiro Tokushige
Product Specialist
Blue Prism
Australia/Sydney
------------------------------