---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Transform the data in RPA Desktop Design Studio

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

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Transform the data in RPA Desktop Design Studio by using the
Transform Data option at a component level. With this option, you
can edit the output value of the Data port by using VB.NET, C#.NET, or
JavaScript.

## Before you begin

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

Role required: none

## About this task

The Transform Data option can be used to modify any data that
comes from the Data In port or is returned from the Data Out port.

## Procedure

1. In the RPA Desktop Design Studio, on the Design surface, right-click either the Data In or Data Out port that you want to transform and select Transform Data.
2. In the DATA TRANSFORMATION EDITOR dialog box, select the Enabled check box to enter the code in the Script section.  
   The Data port turns green to verify the data transformation in the automation flow.
3. From the following SCRIPT LANGUAGE list, select your preferred scripting language to write the code for the data transformation:  
   * VB.NET
   * C#
   * Javascript
   {#transform-data-gen-rpa-studio__ul_zv3_4zk_4rb}
4. In the Script section, enter the code.  
   You can use the Value variable to use the incoming data for the Data In port or the outgoing data for the Data Out port in your script.
5. After entering the script, click OK.  
   The system validates the script.
6. If there are any errors in the Script section, resolve the errors that are displayed in the ERRORS section and then click OK.
{#transform-data-gen-rpa-studio__steps_pvm_dm3_nrb}

