Execute script
- Updated: 2026/04/13
The Execute script action in the Python Script for API Task package executes the Python script defined in the Open action.
Settings
The following settings are available in the Execute function action:
- Python session
- The session name defined in the Open action. The session name fetches the Python script from the Open action for execution.
- Throw an exception if the Python script fails
- The check box for error handling. When enabled, the automation displays an error when the Python script execution fails.
- Assign the output to a variable
- The output variable captures the output of the script.