Coding standards are a collection of rules, guidelines, and best practices. Coding standards are important for safety, security, and reliability. In this course, we learn the most important and UiPath recommended coding standards. Starting from naming conventions to maintaining your code in the code repository, we cover all the best practices.
- In the process flow, make sure you close the target applications (browsers, apps) after the Robots interact with them. If left open, they will use the machine resources and may interfere with the other steps of automation.
- Before publishing the project, take a final look through the workflows and do some cleanup:remove unreferenced variables, delete temporary Write Line outputs, delete disabled code, make sure the naming is meaningful and unique, remove unnecessary containers (Right-click >Remove sequence).
- The project name is also important – this is how the process will be seen on Orchestrator, so it should be in line with your internal naming rules. By default, the project ID is the initial project name, but you can modify it from the project.json file.
- The description of the project is also important (it is visible in Orchestrator) – it might help you differentiate easier between processes – so choose a meaningful description as well.
In order to easily manage project versioning and sharing the work with more developers, we will have to use a Version Control System. UiPath Studio is directly integrated with Microsoft’s Team Foundation Server (TFS) & Apache Subversion (SVN) – a tutorial explaining the connection steps and functionalities can be accessed here.
You might be interested in the following courses:
Course Category: Robotic Process Automation
This is an advanced guide to best practices that need to be followed in developing bots using Automation Anywhere. This course provides an introduction to common bot design guidelines and standards. Avoiding common mistakes and including these processes and considerations in your bot design standards, creates bots that are clean, easier to read, test, maintain, and are stable. Most of […]
Robotic Process Automation(RPA) is a kind of automation where a bot performs human’s task in completing rules based jobs. Robotic Process Automation refers to a style of automation where a machine, or computer, mimics a human’s action in completing rules-based tasks. In traditional workflow automation tools, a software developer produces a list of actions to automate a task and interface to […]