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

Execute Python Script

Prev Next

Step Details

Introduced in Version6.0.0
Last Modified in Version6.9.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. 


Properties

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"