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


---

# Validate the data in RPA Desktop Design Studio

# Validate the data in RPA Desktop Design Studio {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Validate your data by using the Validate Data option at a
component level in RPA Desktop Design Studio.

## Before you begin

Configure a component. For more information, see [Use a component in RPA Desktop Design Studio](https://www.servicenow.com/docs/is7JWyaW55iJP97Gum7EhQ "Design automation projects by using components in RPA Desktop Design Studio.").

Role required: none

## About this task

You can ensure that the data coming from a Data Out port is not null by using the NotNullValidation validation type. You can also write custom validations by using a script.

## Procedure

1. In the RPA Desktop Design Studio, on the Design surface, right-click either the Data In or Data Out port of a component and select Validate Data.
2. In the VALIDATIONS dialog box, from the Validator list, select either of the following validation types:  
   {#validate-data-rpa-studio__table_hnm_vtk_4rb__entry__2}

   | Type | Description and action |
   |-|-|
   | NotNullValidation | Checks if the given input is null. A custom message can be inputted for validation and error handling. 1. Click the plus icon (![Plus icon.]()) to add a validation. 2. In the text box next to \[NOT NULL\], enter the custom error message as shown in the following example. Figure 1. Text box for entering the error message 3. Click OK. {#validate-data-rpa-studio__ol_mtt_v1g_prb} |
   | ScriptValidation | Enables you to choose from a list of programming languages and write a validation script to ensure the data that flows in or out of the Data port is validated against the mentioned conditions. Otherwise, it stops execution and throws an error. 1. Click the plus icon (![Plus icon.]()) to add a validation. 2. Click the script icon (![script icon.]()) to open the SCRIPT VALIDATION dialog box. 3. From the following SCRIPT LANGUAGE list, select your preferred scripting language to write your custom validation: * VB.NET * C# * Javascript {#validate-data-rpa-studio__ul_tpy_cll_srb} 4. In the Script section, enter the code. For example, `Return Value > 300`. 5. Click OK. 6. In the text box next to \[SCRIPT\], enter the custom error message as shown in the following example. Figure 2. Field for entering the error message 7. Click OK. {#validate-data-rpa-studio__ol_qpy_cll_srb} |
   [ ]

   {#validate-data-rpa-studio__table_hnm_vtk_4rb}
3. **Optional:** To delete a validation rule, click the delete icon (![Delete icon.]()) and in the Confirmation dialog box, click Yes.
{#validate-data-rpa-studio__steps_pvm_dm3_nrb}

