Execute function action

The Execute function action in the Python Script package enables you to execute a function within the Python Script package.

Settings

  • In the Python session field, specify a session name. Use the same session name from the Open action.
  • Specify the function name to run the function.
  • Optional: Provide the arguments required for the function while storing the returned values in a variable.

    This field supports Boolean, dictionary, list, number, or string variables.

    Note: The interface allows you to select only one argument. Use a list variable to concatenate multiple arguments into one variable.
  • Optional: In the Assign the output to variable field, specify the string variable.
See the following examples to learn how to use the Python Script actions when building automations.