{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":22264,"path":"integrate-applications/transform-data-gen-rpa-studio.md","title":"Transform the data in RPA Desktop Design Studio","bundle":null,"doc_type":null,"release":"australia","body":"\n# Transform the data in RPA Desktop Design Studio\n\nTransform 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.\n\n## Before you begin\n\nConfigure a component. For more information, see [Use a component in RPA Desktop Design Studio](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/configure-components.md).\n\nRole required: none\n\n## About this task\n\nThe **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.\n\n## Procedure\n\n1.  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**.\n\n2.  In the DATA TRANSFORMATION EDITOR dialog box, select the **Enabled** check box to enter the code in the Script section.\n\n    The Data port turns green to verify the data transformation in the automation flow.\n\n3.  From the following SCRIPT LANGUAGE list, select your preferred scripting language to write the code for the data transformation:\n\n    -   **VB.NET**\n    -   **C\\#**\n    -   **Javascript**\n4.  In the Script section, enter the code.\n\n    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.\n\n5.  After entering the script, click **OK**.\n\n    The system validates the script.\n\n6.  If there are any errors in the Script section, resolve the errors that are displayed in the ERRORS section and then click **OK**.\n\n\n**Parent Topic:**[Using automations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/rpa-studio-use.md)\n\n"}}