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


---

# JavaScript connector methods

# JavaScript connector methods {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Execute custom JavaScript with the Execute method as part of an automation in the RPA Desktop Design Studio.

## Execute {#connector-javascript-methods__section_mrf_msw_xrb}

Executes the custom JavaScript you have written. Before executing,

* Configure the JavaScript connector before executing the method. To configure, see [Configure the JavaScript connector](https://www.servicenow.com/docs/gXoEnqW3Ta3Mnv9j~ye2vA "Configure the JavaScript connector by writing custom script and validating custom classes and functions. Then you execute the script by providing values for the functions.").
* Configure the Execute method.
{#connector-javascript-methods__ul_fym_4mq_4tb}

## Configure the Execute method {#connector-javascript-methods__section_ey2_g3k_msb}

1. Click the method settings icon (![Method settings icon]()).
2. Select the class from the Classes list as set in the custom JavaScript you had written.
3. Select the method from the Methods list as set in the custom JavaScript you had written.
4. Click OK.

   A Data In port is created to accept the value for
   the function you have created.
{#connector-javascript-methods__ol_bkr_m3k_msb}  
{#connector-javascript-methods__table_wpx_2wj_4tb__entry__6}

| Parameter | Description | Data port type | Data type | Default value | Mandatory? |
|-|-|-|-|-|-|
| Function value | Accepts the value for the function you have created. | Data in | Object | None | Yes |
| Result | Returns the output of the custom JavaScript execution. | Data out | String | None | Not applicable |
[Table 1. Execute method parameters]

{#connector-javascript-methods__table_wpx_2wj_4tb}

