Run JavaScript action

This action enables you to run a function within the JavaScript file.

Settings

Runs a function within the JavaScript.

  • In the JavaScript session field, specify a session name. Use the same session name from the Open action.
  • Optional: Specify the function name to run and the arguments to pass to the function.
    Note: You can pass only a list variable as an argument for the function. You can use the list variable to pass multiple arguments of different data types such as Boolean, datetime, number, and string.
  • Optional: In the Assign the output to variable field, specify the variable. The Control Room shows a descriptive default variable name. If you create several output variables, subsequent variable names are appended with a -1, -2, -3, and so on to avoid duplication.