Execute Python Script
- 30 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Execute Python Script
- Updated on 30 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 6.0.0 |
Last Modified in Version | 6.9.0 |
Location | Integration > 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
Property | Description | Data Type |
---|---|---|
Parameters | Input parameters for the script file | List of String |
Script File | Python script file to execute | FileData |
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
Property | Description | Data Type |
---|---|---|
Error | Displays the error message when executing the script file | String |
Success | Displays the output string of the executed script | String |
Example Inputs and Outputs
Parameters | Script File | Working Directory | Output |
---|---|---|---|
Sam, Worth | example.py | Null | "Welcome Sam Worth" |
Tom | example.py | Null | "Welcome" |
Null | Null | Null | "File could not be null" |
Was this article helpful?