Code quality check in RPA Desktop Design Studio
Summarize
Summary of Code Quality Check in RPA Desktop Design Studio
The Code Quality Check feature in RPA Desktop Design Studio is designed to help users identify and resolve issues in automation activities or entire projects. This proactive measure reduces errors and prevents potential automation hindrances. Before using this feature, ensure that you connect to the RPA Hub instance that has the Code Quality Check enabled.
Show less
Key Features
- The check is based on a pre-defined set of rules managed through the RPA Hub.
- Results are displayed in the Code Quality Check Results window, where users can see issues listed and click to navigate to affected components.
- Code quality checks are automatically conducted upon publishing an automation project, showing any found issues in the results window.
- Users can view and filter active and inactive rules by severity in the View Rules window.
Key Outcomes
By utilizing the Code Quality Check, ServiceNow customers can ensure the integrity of their automation projects, quickly address identified issues, and maintain compliance with established coding standards. This ultimately leads to more reliable and efficient automation solutions.
You can use code quality check in RPA Desktop Design Studio to proactively find the issues in an automation activity or the complete automation project. When you publish an automation project, an in-built code quality check is also performed. Code quality check enables you to reduce the number of errors and prevent potential issues that may hinder your automation.
Overview
Code quality check in RPA Desktop Design Studio is based on the pre-defined set of rules that are enabled from the RPA Hub instance. You must connect to the instance that has Code quality check to RPA Desktop Design Studio before you start using Code quality check. For more information on how to configure Code quality check from RPA Hub, see Code quality check in RPA Hub RPA Desktop Design Studio. For more information on the pre-defined set of rules, see Code quality rules list in RPA Hub.
When you check an activity or the complete automation project by using Code quality check, the issue results and details are displayed as a list of entries in the Code Quality Check Results window. The following example shows the window.
- If an affected component is in the current activity, it’s highlighted in the current activity.
- If the affected component is in a different activity, you can navigate to the activity. The component gets highlighted. See the following example to see the component highlight in RPA Desktop Design Studio.
Code quality check in publishing an automation project
Code quality check is automatically performed when you publish the automation project. If your project has code quality check issues, the Code Quality Check Results window is displayed with the result entries. For more information on how to publish an automation project, see Publish an automation project in RPA Desktop Design Studio in RPA Desktop Design Studio.
You can view the list of active and inactive rules from the View Rules window. You can filter the rules by their severity level from this window.