Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Image RemovedImage Added

Parameters:

  • Database (text box editor type) (type: string): the database name to connect to.
  • Password (password editor type) (type: string): the password for the provided username.
  • Password Binding (text box editor type) (type: string): bind to a variable containing the encrypted password for the sql server. (This parameter is used only when the user wants to send an encrypted password from outside the task, for example Flowster Portal).
  • Server Name (text box editor type) (type: string): the name or IP of the SQL Server to connect to.
  • Username (text box editor type) (type: string): the the username of the SQL Server Administrator.

...

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

Image RemovedImage Added

Parameters:

  • Connection (text box editor type) (type: object): the output from a Connect to MySQL activity.

...

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

Image RemovedImage Added

Parameters:

  • Host Name (value selector list) (type: string): the hostname that the user can connect from.
  • Username for Access (text box editor type) (type: string): the name of the user that will receive permissions.

...

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

Image RemovedImage Added

Parameters:

  • Backup Path (text box editor type) (type: string): the path where the backup file will be created.
  • File Name (text box editor type) (type: string): the name of the backup file that will be created. Should be an .sql extension file (E.G. BackupFile.sql).
  • MySQLDump.exe Path (text box editor type) (type: string): the the path of the mysqldump.exe, or select it with the File Browser.
  • Password (password editor type) (type: string): the password for the provided username.
  • Password Binding (text box editor type) (type: string): bind to a variable containing the encrypted password for the sql server. (This parameter is used only when the user wants to send an encrypted password from outside the task, for example Flowster Portal).

...

The Delete Row(s) from Table activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Parameters:

  • Table (text box editor type) (type: string): the table name where the row(s) will be deleted.
  • Where Statement (text box editor type) (type: string): the Where statement to filter the row(s) that will be deleted. For example: Column_name='Test'.

...

The Insert Row(s) into Table activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Parameters:

  • Fields (text box editor type) (type: string): the column headers that you want to be returned with the select command. If you enter more than one you should separate them with ','. For example: Name,Status.
  • Table (text box editor type) (type: string): the table name where the row(s) will be inserted.
  • Values (text box editor type) (type: string): the values for specified fields in Fields parameter. If you enter more than one you should separate them with ','. If you have more values each should be placed in the same order as you add the fields.For example: Test,1.

...

The Remove User Access from Database activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Parameters:

  • Username to be Removed (text box editor type) (type: string): the name of the user that will have denied permissions.

...

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

Image RemovedImage Added

Parameters:

  • Backup File Path (text box editor type) (type: string): the path of the backup file or select it with the File Browser. Should be an .sql extension file (E.G. C:\\BackupsFolder\BackupFile.sql).
  • MySQl.exe Path (text box editor type) (type: string)the path of the mysql.exe, or select it with the File Browser.
  • Password (password editor type) (type: string): the password for the provided username.
  • Password Binding (text box editor type) (type: string): bind to a variable containing the encrypted password for the sql server. (This parameter is used only when the user wants to send an encrypted password from outside the task, for example Flowster Portal).

...

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

Image RemovedImage Added

Parameters:

  • Query (text box editor type) (type: string): the SQL query string. For example: CREATE Table.

...

The Select Row(s) from Table activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Parameters:

  • Distinct (combo box control) (type: string): whether the returned values should be distinct or not.
  • Fields (text box editor type) (type: string): the column headers that you want to be returned with the select command. If you enter more than one you should separate them with ','.
  • Limit (text box editor type) (type: string): limit the number of results.
  • Order By (text box editor type) (type: string): the column header that you want to result to be ordered by.
  • Order by Direction (combo box control) (type: string): choose to order the resulted rows in ASC or DESC direction. It will be ignored if Order By is not set.
  • Table (text box editor type) (type: string): the table name on which to run the select.
  • WHERE (text box editor type) (type: string): the Where statement. For example: ID>2 where ID is a column header.

...

 

 

 

Export from Database

This activity exports data from a Database into an XML or a CSV file.

Activity Parameters

The Export from Database activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Parameters:

  • Destination Path (combo box control) (type: string): the path where the file will be created.
  • File Name (text box editor type) (type: string): the name of the XML file or CSV file that will be created. E.g. 'MyNewFile'.
  • File Type (combo box control) (type: string): the type of the file that will be created. For each of them a different set of parameters will be displayed.
  • Overwrite (combo box control) (type: string): whether to overwrite the file if it already exists.
  • Root Name (text box editor type) (type: string): the name of the root for the .xml file.
  • Table (text box editor type) (type: string): the table(s) from where the export will be made (accepts multiple values separated by comma).

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Export from Database activity:

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

  • Output (type: boolean): outputs True or False if the execution was successful or not.
 

 

 

 

 

Import into Database

This activity imports data into a Database from an XML or a CSV file.

Activity Parameters

The Import into Database activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Parameters:

  • File Type (combo box control) (type: string): the type of the file that will be imported from. For each of them a different set of parameters will be displayed.
  • First Row Header (combo box control) (type: string): whether the CSV file includes the header as a first row or not.
  • Import File Path (text box editor type) (type: string): the path where the file will be selected from, or choose it with the file browser.
  • Table (text box editor type) (type: string): the table name where the file will be imported. If left empty it will take the 'Name' of the CSV File or the 'Root Name' from the XML File.

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Import into Database activity:

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

  • Output (type: boolean): outputs True or False if the execution was successful or not.