EXECUTION - General Knowledge 

Linux activities can be executed in 2 different ways: via Windows Execution Agents or via Linux Execution Agents.

Using Windows Execution Agents:

Using Linux Execution Agents:



Activities

 




Application Install

This activity installs an application by a specific path to Linux.

Activity Parameters

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

Parameters:



The Read Only Output variable are the possible output values that the activity will provide:

 





Check Folder Existence

This activity checks if a folder exists.

Activity Parameters

The Check Folder Existence activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


The Read Only Output variable are the possible output values that the activity will provide:

 




Check Package Installed

This activity checks if a package is installed.

Activity Parameters

The Check Package Installed activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:





Connect To Linux

This activity connects to an SSH Host. The Output of this activity should be used as Input for all Connection parameters used for all activities found under this category.

Activity Parameters

The Connect to Linux activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

 


File Transfer

This activity copies a file from the current machine to a linux host.

Activity Parameters

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

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:




Get Server State

This activity gets the server's state.

Activity Parameters

The Get Server State activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:


The Read Only Output variable are the possible output values that the activity will provide:

 





Get OS Metrics

This activity gets server information (version, distribution).

Activity Parameters

The Get OS Metrics activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:

 





Linux Disconnect

This activity disconnects from Linux.

Activity Parameters

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

Parameters:






Make Directory

This activity makes a directory to Linux.

Activity Parameters

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

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Directory Path (text box editor type) (type: string): the name of the new directory.
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: string): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.
 






Package Management

This activity deploys a package for a specific path to Linux.

Activity Parameters

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

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.
  • Package File (text box editor type) (type: string): the package file name.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: string): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.





Run Bash Script

This activity creates a Linux bash script and executes it.

Activity Parameters

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

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Delete script (combobox editor type) (type: string): specify whether to delete or not the script after the script execution.
  • Include Administrator Scripts (combobox editor type) (type: string): this parameter specifies whether to include the execution of the scripts assigned to the workflow in Administrator. The workflow selected from Administrator will be executed first and added to the result of the ssh script.
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.
  • Script (inline script editor type) (type: string): the bash script. Use $using:variableName for external workflow variables/arguments.
  • Script Path (text box editor type) (type: string): the path where the bash script will be uploaded (e.h. /home/user/MyScript.sh).
  • Split Separator (text box editor type) (type: string): Enter the separator used to split the script/command result in Output Results List (e.g. ';',':' '→'). By default is newline.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: string): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.
  • Output Results List (type: collections.generic.list[string]): outputs a list of results.





Server Add Group

This activity adds a new group to Linux.

Activity Parameters

The Server Add Group activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Group Name (text box editor type) (type: string): the name of the new group.
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: string): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.


 

Server Add User

This activity adds a user to a group.

Activity Parameters

The Server Add User activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

  • Agent Password (password box editor type) (type: string): the password for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents.
  • Agent Password Binding (text box editor type) (type: string): this parameter should be used to bind an IN argument that will be used to store an encrypted password from outside the workflow, for example Flowster Studio Portal.  
  • Agent Username (text box editor type) (type: string): the username for the Unix machine username provided. This parameter should only be used when the workflow is executed with Linux agents. E.g "demouser".
  • Group Name (text box editor type) (type: string): the group name or number of the user's initial login group.
  • Input (text box editor type) (type: string): SSH Connection. If the activity is not executed with Linux Execution Agents, then the output from the SSH Connection activity should be used.
  • NewUser (text box editor type) (type: string): the name of the user.
  • ShellUser (text box editor type) (type: string): the name of the user's login shell.
  • Supplementary Groups (text box editor type) (type: string): a list of supplementary groups which the user is also a member of.


The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: string): outputs the SSH command execution.
  • Output Result Code (type: int32): outputs the execution's result code.






Server Boot Operations

This activity executes server boot operations.

Activity Parameters

The Server Boot Operations activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:






Server Copy File

This activity copies a file to a new location.

Activity Parameters

The Server Copy File activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:




Server Links

This activity makes symbolic links between files. Creates a link to TARGET in the specified path.

Activity Parameters

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

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:





Server Move File

This activity moves a file to a new location.

Activity Parameters

The Server Move File activity parameters can be provided by manual inserted values or via IN arguments or variables:


Parameters:

The Read Only Output variable are the possible output values that the activity will provide:





Server Set User Group Privileges

This activity adds user privileges for a specified path.

Activity Parameters

The Server Set User Group Privileges activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:





Service Operations

This activity executes operations on Linux services.

Activity Parameters

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

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:





Set Path CHMOD

This activity sets CHMOD for a specified path.

Activity Parameters

The Set Path CHMOD activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:





SSH Script Execution

This activity executes an SSH script.

Activity Parameters

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

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:






Unix OS File Transfer

This activity copies a file from the currently connected machine to another Linux host.

Activity Parameters

The Unix OS File Transfer activity parameters can be provided by manual inserted values or via IN arguments or variables:

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:




Unzip File

This activity unzip a file to a specific Linux path.

Activity Parameters

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

Parameters:

The Read Only Output variable are the possible output values that the activity will provide:





Web Get

This activity gets a web file for a specific Linux path. In order to use this activity make sure you have installed wget tool.

Activity Parameters

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

Parameters:

The Read Only Output variable are the possible output values that the activity will provide: