/
Python

Python

Activities

  • Python Script

 

Python Script

This Activity executes a Python Script on a Remote Machine. Its required, that Python is installed on the Remote Machine. Syntax in the Scriptfield depends on the Version of Python.

 

Activity Parameters

The Python Script activity parameters can be provided by manual inserted values or via IN arguments or variables:

 

Parameters:

  • Additional Parameters (text box editor type) (type: string): Additional Parameters you want to add (each Parameter separated by a space bracket). Leave blank for no parameters.

  • Computer Name (text box editor type) (type: string): Enter computer name or IP. For example '10.10.10.10'. Leave empty for localhost connection.

  • Password (password box editor type) (type: string) : The username password on the remote machine. Not required on local machine.

  • Password Binding (text box editor type) (type: string): Bind to a variable containing the encrypted password for connection. (This parameter is used only when the user wants to send an encripted password from outside the task, for example Flowster Studio Portal).

  • Path To Python Exe (text box editor type) (type: string): The Path to the Python Exe File on the Remote Machine. For Example 'C:\Python\python.exe'.

  • Scriptfield (text box editor type) (type: string) : The Script you want to execute. Use $using:variableName for external workflow variables / arguments or ${using:varname.propertyName[index]} when using properties and/or indexes.

  • Temporary Script Folder Location (text box editor type) (type: string): Enter the Location on the Remote Machine, where a temporary Script File can be stored for execution. For Example '\\Computername\folder'. Have to be a shared folder.

  • Username (text box editor type) (type: string): The username that has rights on the remote machine. Not required on local machine.

 

Read-Only Output

  • OutputStatus (type: list<string>) : Outputs the StringCollection result.

 

 

 

 

 

 

Related content