cancel
Showing results for 
Search instead for 
Did you mean: 

#BPTechTips #TipOfTheDay - Best Practices Object Layer

Greetings, Team

Today, I'd want to talk about object layer design best practices and some of the benefits it provides to the RPA project as a whole.

Properties that an object should possess -

1. Modular and Reusable - Each activity should be broken into smaller components. This enhances reusability by allowing other developers to call the same action in different processes. In the long term, it's a good time saver.
2. Dynamic - The calling process/object should dynamically pass all input and output parameters. Again, this gives the team more flexibility.
3. Decisions - Instead of using business decisive checkpoints at the object layer, do it at the process layer. This will free the object from business rules.
4. Exceptions - Include relevant information in exception stages and avoid retry logic.
5. Run mode - We often forget to specify the run mode, thus it must be done when the object is being developed.
6. Publishing and Logging - Only publish Actions that are required. Also, set the required log levels sa per the phase of the project.

More information on Object level best practices can be found in the following course.


What are your thoughts! Feel free to add more insights to this #BPTechTips.

#BPTechTips #tipoftheday



------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------
​​
2 REPLIES 2

Totally agreed! This is a wonderful Tech Tip Topic. Thanks for sharing your views with us @Tejaskumar_Darji

Also, I would specifically add a point for the usage of objects with code stages. Try to keep the public functions in the Global Code options as much as possible and call the wrapper functions as and when needed in your individual codes stages being built as a part of your actions keeping all the points discussed above in mind while building out the codes.

------------------------------
----------------------------------

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 it helps you out and if my solution resolves your query, then please provide a big thumbs up 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 | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------

Thanks so much for sharing, @Tejaskumar_Darji!​

------------------------------
Melanie Giuliani
Online Community Manager
Blue Prism
------------------------------