Washington DC Create Integrations with Applications
ft:clusterId
crint
bundleId
crint
workflow
Creator
Configure the JavaScript connector
Release version: Washingtondc
Updated February 1, 2024
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
Role required: Developer
Procedure
In the Toolbox pane, navigate to Connectors > JavaScript.
Drag the JavaScript connector to Global Objects in the Project Explorer pane.
Right-click the JavaScript connector in Global Objects and select
Configure.
The Script Editor window is displayed.
Enter the custom JavaScript in the Script pane.
Figure 1. Script pane in Script Editor
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
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.