---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/integrate-applications

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Code quality check

# Code quality check in RPA Hub {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Code Quality Check in RPA Hub

A code quality check evaluates automation files or scripts to ensure they meet coding standards, best practices, and maintainability.
This process is crucial in the RPA development life cycle to create robust and efficient automation projects, minimizing future errors.
Show full answer Show less  

## Key Features

* **Code Quality Check Rules:** RPA release managers or admins select rules from a predefined set in the RPA Hub instance.
* **In-Built Checks:** The RPA Desktop Design Studio conducts code quality checks before a package is published.
* **Proactive Checks:** Developers can inspect a package for issues using the Code Quality Check feature in the RPA Desktop Design Studio.
* **Error Management:** Decisions on package publishing depend on the severity of errors or warnings, guided by the system property configuration.
* **Configuration Options:** Key system properties must be set to enable and configure the code quality check feature effectively.

## Key Outcomes

By implementing code quality checks, RPA customers can enhance the efficiency and reliability of their automation processes, ensure compliance with coding standards, and reduce the risk of errors. The ability to manage and customize code quality rules helps maintain high-quality automation outputs and supports better governance of RPA projects.  
A code quality check refers to the process of evaluating the automation file or script to assess its adherence to coding standards, best practices, maintainability, and overall quality.

## Code quality check overview {#code-quality-check-rpa__section_mp2_dqg_1yb}

Code quality checks are essential in RPA development life cycle, to ensure that the automation file is robust, efficient, and free from common issues that could lead to errors or difficulties in the future.

RPA release managers or RPA admins select code quality check rules from a pre-defined set of rules in the RPA Hub instance.

Then, the RPA Desktop Design Studio performs an in-built code quality check before publishing a package. RPA developers can also perform pro-active code quality check on a package in the RPA Desktop Design Studio by inspecting an activity or a complete automation project for any issues, using the Code Quality Check feature.

The issues and their details are displayed in the Code Quality Check Results window. Double-click an individual entry to view the component that has displayed an error or a warning. Troubleshoot the
issues before you publish the automation project to RPA Hub. For more information on how to perform Code Quality Check in RPA Desktop Design Studio, see [Code quality check in RPA Desktop Design Studio](https://www.servicenow.com/docs/~kz7YkfMqp97zaiqhFg2Og "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.").

If an error or a warning occurs in the automation, a decision is derived if the package can be published successfully or not, based on the [system property](https://www.servicenow.com/docs/wRNW_tXOfpoIyDdWyhc6KQ "You can access system properties for RPA Hub by navigating to All > Robotic Process Automation > Administration > Properties .") \[sn_rpa_fdn.restrict_package_by_severity\] configuration (error, warning, or no restrictions). For more information about
compliance rules for RPA Desktop Design Studio, see [Code quality check compliance for RPA Desktop Design Studio](https://www.servicenow.com/docs/zjMXGYbrRZKpxvkN0Q_g3g "View a list of compliance rules that the Code Quality Check feature follows if a package is published from RPA Desktop Design Studio.").

If a package version is marked with code quality result as error or warning, a decision is derived if the bot process can be published successfully or not, based on the [system property](https://www.servicenow.com/docs/wRNW_tXOfpoIyDdWyhc6KQ "You can access system properties for RPA Hub by navigating to All > Robotic Process Automation > Administration > Properties .") \[sn_rpa_fdn.restrict_package_by_severity\] configuration (error, warning, or no restrictions). For more information about
compliance rules for RPA Hub, see [Code quality check compliance for RPA Hub](https://www.servicenow.com/docs/hcYCWNlEM5qhlujw1T4W9A "View a list of compliance rules that the Code Quality Check feature follows if a bot process is published from RPA Hub.").

View a list of the pre-defined code quality rules in the RPA Hub instance. For more information, see [Code quality rules list in RPA Hub](https://www.servicenow.com/docs/NgqLcyxvk5L0pnKxiRhojA "View a list of pre-defined rules that RPA admins can set for the RPA developers to follow as a code quality standard.").

View a code quality rule form along with the type and description. For more information, see [Code quality rule form in RPA Hub](https://www.servicenow.com/docs/mbH6~uheZRkdSlYSMU841g#cqr-form-rpa "Use the Code quality rule form to view a rule along with description and type.").

In the code quality rule form, RPA release managers and admins can edit the Severity, Regular Expression, Active, and Value
fields.

View the result of the code quality check, in the Code Quality Result field of an associated package version in RPA Hub. For more information, see [Package Version form in RPA Hub](https://www.servicenow.com/docs/06RRplYIx24pWqO7F8iDtQ#package-version-form-rpa "Use the Package Version form to view the code quality result.").

## Configuration {#code-quality-check-rpa__section_ygh_cqg_1yb}

To enable the code quality check at the instance level, ensure that you mark the new system property sn_rpa_fdn.enable_code_quality_check as true.  
Additionally, configure the following system properties:

* sn_rpa_fdn.restrict_package_by_severity - To set a restriction on publishing a package from RPA Desktop Design Studio and publishing a bot process in RPA Hub.
* sn_rpa_fdn.code_quality_check_timeout - To enter a maximum duration, in minutes, for the completion of the code quality check.

{#code-quality-check-rpa__ul_jwy_hqg_1yb}These system properties are effective only when code quality check feature sn_rpa_fdn.enable_code_quality_check is enabled. For more information about these properties and values, see [Configure RPA Hub properties](https://www.servicenow.com/docs/wRNW_tXOfpoIyDdWyhc6KQ "You can access system properties for RPA Hub by navigating to All > Robotic Process Automation > Administration > Properties .").
* **[Code quality rules list in RPA Hub](https://www.servicenow.com/docs/NgqLcyxvk5L0pnKxiRhojA)**   
  View a list of pre-defined rules that RPA admins can set for the RPA developers to follow as a code quality standard.
* **[Code quality check compliance for RPA Desktop Design Studio](https://www.servicenow.com/docs/zjMXGYbrRZKpxvkN0Q_g3g)**   
  View a list of compliance rules that the Code Quality Check feature follows if a package is published from RPA Desktop Design Studio.
* **[Code quality check compliance for RPA Hub](https://www.servicenow.com/docs/hcYCWNlEM5qhlujw1T4W9A)**   
  View a list of compliance rules that the Code Quality Check feature follows if a bot process is published from RPA Hub.
* **[View the code quality rules list in RPA Hub](https://www.servicenow.com/docs/Xfq0YswdPFsTlZGe3~Ex_g)**   
  View a list of the pre-defined code quality check rules along with their active status and severity.
* **[Update a code quality rules form in RPA Hub](https://www.servicenow.com/docs/mbH6~uheZRkdSlYSMU841g#edit-cqr-rpa)**   
  Update few fields in the code quality rule form to set the code quality check standard.

