Skip to main content

Execute Python Script

Description

This activity executes Python code, inputs the code directly in the activity, or provides a file path. It can only use inside the Python Context activity.

Design Time Configuration

This activity enables you to configure the design-time script setup by either selecting a script file or entering the script directly.

Python Script

  • Click the Browse (...) button to select a Python script file.
    OR
  • Enter the script directly within quotation marks in the input field.

Properties

Input

  • Code – It specifies the Python code to run. It supports only strings and String variables.
  • File – It specifies the file path containing the Python code to run. It supports only strings and String variables.

Misc

  • DisplayName – Add a display name to your activity.
  • Private – By default, activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.