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
------------------------------