Run function action in VBScript

You can run a function within VBScript using the Run function action.

Settings

Runs a function within the VBScript.

  • In the VBScript session field, specify a session name. Use the same session name from the Open action in VBScript.
  • 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: If the specified function returns a value, specify the variable to store that value in the Assign the output to variable field. 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.
    Note: In VBScript, stand alone scripts do not return a value.

See the following topic to understand how to use VBScript package.

Example of using the VBScript package in a resilient bot