---
sourceDocument: Xanadu Create Integrations with Applications
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/integrate-applications

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Create Integrations with Applications

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Code quality check in RPA Desktop Design Studio

# Code quality check in RPA Desktop Design Studio {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

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.

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

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](https://www.servicenow.com/docs/wdG3mnApKm2bG7AuP~ZgWQ "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.")
RPA Desktop Design Studio. For more information on the pre-defined set of rules, see [Code quality rules list in RPA Hub](https://www.servicenow.com/docs/XM2hrnLgd3mzijhoR5KM5A "View a list of pre-defined rules that RPA admins can set for the RPA developers to follow as a code quality standard.").

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.  
Figure 1. Code Quality Check Results window  
You can double-click the result entries for components in the Code Quality Check Results window for the following scenarios:

* 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-studio__ul_xld_pgc_2yb}  
Figure 2. Component highlight in RPA Desktop Design Studio

## Code quality check in publishing an automation project {#code-quality-check-studio__section_kww_mgx_fyb}

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](https://www.servicenow.com/docs/3ZI6C5wKAuMl2C6AOVulIQ "Publish an automation project to RPA Hub from RPA Desktop Design Studio as a package or as a template. After publication, you can quickly deploy automation solutions in the RPA platforms by using the packages or by using a template as a framework to create automations.") in RPA Desktop Design Studio.  
Note:  
You can publish a package with errors or a combination of errors and warnings only if the property sn_rpa_fdn.restrict_package_by_severity is set as No restriction in RPA Hub. For more information on this property, see [Configure RPA Hub properties](https://www.servicenow.com/docs/nPReKclEvKSH2N2SJSMmlg "You can access system properties for RPA Hub by navigating to All > Robotic Process Automation > Administration > Properties ."). For more information on the compliance rules that the Code Quality Check feature follows if a package is published from RPA Desktop Design Studio, see [Code quality check compliance for RPA Desktop Design Studio](https://www.servicenow.com/docs/lgvaSVrJlYg6_N2Oh23www "View a list of compliance rules that the Code Quality Check feature follows if a package is published from 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.
* **[Fix automation issues with Code quality check in RPA Desktop Design Studio](https://www.servicenow.com/docs/sgSZpKJjqW1oMkVKim90ZQ)**   
  Fix the automation issues in your automation activity or complete an automation project proactively by using the Code quality check feature in RPA Desktop Design Studio.

