Configure the JavaScript connector

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • 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.

    Before you begin

    Ensure you have installed the Scripting plugin on the RPA Desktop Design Studio. To install, see Manage plugins in RPA Desktop Design Studio.

    Role required: Developer

    Procedure

    1. In the Toolbox pane, navigate to Connectors > JavaScript .
    2. Drag the JavaScript connector to Global Objects in the Project Explorer pane.
    3. Right-click the JavaScript connector in Global Objects and select Configure.
      The Script Editor window is displayed.
    4. Enter the custom JavaScript in the Script pane.
      Figure 1. Script pane in Script Editor
      Script pane in Script Editor
    5. Select Validate.
      If your custom script has any errors, it is displayed in the Errors pane. Resolve the errors and select Validate to check for errors again.
      Figure 2. Error pane for Script Editor
      Error pane for Script Editor
    6. Click OK.
      If you want to save the changes, select Yes. An error validation is performed again and the changes are saved. If you want to discard the changes, select No.

    What to do next

    The custom script you created by using the JavaScript connector is now ready to be used in your automation.