Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Execute Python Script

Prev Next

Step Details

Introduced in Version6.0.0
Last Modified in Version9.15.0
LocationIntegration > Python

The Execute Python Script step allows users to execute Python scripts in a Flow.

Prerequisites 

This step requires the Python module to be installed before it will be available in the toolbox. Users in v9 will need to create a Project dependency as well.


Properties

Settings

PropertyDescriptionData Type
Specify Python Path
Enabling this setting allows users to choose a custom Python executable by its file path. A field will appear beneath this setting when enabled that will allow the path to be entered.
Boolean

Inputs

PropertyDescriptionData Type
ParametersInput parameters for the script fileList of String
Script FilePython script file to executeFileData
Working Directory

The directory that is used to search for the executable and store generated files. If no values are entered, this location will point to: C:\Program Files\Decisions\Decisions Server

String



Outputs

PropertyDescriptionData Type
ErrorDisplays the error message when executing the script fileString
SuccessDisplays the output string of the executed scriptString

Example Inputs and Outputs

ParametersScript FileWorking DirectoryOutput
Sam, Worthexample.pyNull

"Welcome Sam Worth"

Tomexample.pyNull"Welcome"
NullNullNull"File could not be null"


Step Changes

DescriptionVersionRelease DateDeveloper Task
Added “Specify Python Path” property.
9.15September 2025[DT-045372]