JavaScript connector methods
Execute custom JavaScript with the Execute method as part of an automation in the RPA Desktop Design Studio.
Execute
Executes the custom JavaScript you have written. Before executing,
- Configure the JavaScript connector before executing the method. To configure, see Configure the JavaScript connector.
- Configure the Execute method.
Configure the Execute method
- Click the method settings icon (
).
- Select the class from the Classes list as set in the custom JavaScript you had written.
- Select the method from the Methods list as set in the custom JavaScript you had written.
- Click OK.
A Data In port is created to accept the value for the function you have created.
| 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 |