cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing with Pdf

NadaAmer
Level 2
Hi everyone.
In Interfacing with pdf documents, the exercise noted to create three objects while I tried to create one object and merge all the actions in it, but the running process didn't work!!  Why??
And what is the reason for creating three objects so the process can work? 
1 REPLY 1

Hi @NadaAmer,

​For the first half why it is not working, it is quite difficult to say without knowing exactly what exception message you are getting or some additional details such as which exercise you are referring to and what kind of workflows you have built, like perhaps a screenshot or two would help us to identify that.

For second part of your question, as per the best practices involved with any Business Object design it is always recommended to have multiple business objects for any particular application due to following reasons:

  • Allows multiple developers to work on the business objects belonging to a specific application: As you might know, Blue Prism only allows one developer to work on an object at the same time since that specific object is locked under that developer's ID. Whereas with a multi-object design, multiple developers can build actions to automate different areas of any given application and as a result the single-object design model will slow down the development phase.

  • Memory consumption because of used actions for the business object of that application will increase: By nature, whenever any process invokes any action of a business object, it consumes the memory required by all the actions in that business object and only will release that memory once the entire process has been executed. Now imagine, if I have a process where I only need to let say use some of the actions in that business object, why should I go ahead and use the memory for all those business objects which are not in use unnecessarily. Hence, we should create multiple business objects as per different screens of any application as a general thumb rule.

  • Any change to a specific action in a business object is going to affect the whole business object: Imagine, if you have a business object with like 25 actions and tomorrow due to some need we figured out that some changes are required in one or two actions of that object. Since, we have not isolated our actions into different objects you are likely to run into a risk tomorrow that some change in those actions can affect the rest of your actions as well. It ideally exposes a risk of latent errors that could affect processes that don’t need to be changed.

  • The business object will be larger and less efficient: With single-object design, your business object will contain all the required elements in the application model and all the actions required to automate that application. This can result in a large file being stored in the Blue Prism backend database and this large object will be consumed into the memory of any runtime resource that is running that process which invokes any actions of your business object. Also, there is an impact on the Blue Prism database size. Each time the business object is changed, even if only a single action, a new version of the large object is saved to the database with the older version being kept in the object history. The performance of the interactive client machine when developing against a large object will also be adversely impacted.
    Moreover, your object will have a large Application Model which can be difficult to redirect to posing an increased risk of the wrong element being changed.


Concluding my points, a single-object design is appropriate for a small proof of technology exercise or a proof of concept project where delivery is done by a single developer and the object created will not subsequently be promoted to a production environment.

You can know more about it as well in the following LMS course: Blue Prism: Object Design Best Practices


------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.