Activities



Connect to MySQL

This activity connects to a MySQL Host. The Output of this activity should be used as input for all Connection parameters used for activities placed under MySQL category.

Activity Parameters

The Connect to MySQL 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:

 



Disconnect from MySQL

This activity disconnects from a MySQL Host.

Activity Parameters

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

Parameters:




Add User Access to Database

This activity adds privileges for an user to a database.

Activity Parameters

The Add User Access to Database 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:


Execution: the activity will search if the user already exists in the user table from the mysql database (MySQL system database). If found, it will grant access to the database where the activity is connected:




 

Backup Database

This activity creates an .sql file backup for the selected database.

Activity Parameters

The Backup Database 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:

 




Delete Row(s) from Table

This activity deletes Row(s) from a SQL Server database table.

Activity Parameters

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

Parameters:

Execution: the activity will delete all the rows from a table according to the given Where statement:


 

Insert Row(s) into Table

This activity inserts Row(s) on a MySQL Server database table.

Activity Parameters

The Insert Row(s) into Table 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:

 


Execution: the activity will insert the new row into the selected table and will output the ID of the added row. In the database, the row can be seen at the last position:


 



Remove User Access from Database

This activity removes privileges for an user to a database.

Activity Parameters

The Remove User Access from Database 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:



 

Restore Database

This activity restores a Database from a backup .sql file.

Activity Parameters

The Restore Database 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:


 

Run query

This activity runs a query on a SQL Server database.

Activity Parameters

The Run Query 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:

 

Execution: In the Tracking Data there can be seen the returned results:


The same result can be seen when executing the same SQL Select query from PHPMyAdmin:




Select Row(s) from Table

This activity selects and returns Row(s) from a SQL Server database table.

Activity Parameters

The Select Row(s) from Table 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:

 


A more complex example, with fields, orders and statements can be seen in the image below:

Execution: In the Tracking Data there can be seen the returned results:


The same result can be seen when executing the same SQL Select query from PHPMyAdmin:




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:

Parameters:

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

 


Execution: the activity will create an export file of the table(s) settled in the Table field, in the specified folder:





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:

Parameters:

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

 


Execution: the activity will import the lines found in the given file:

  • the initial table content:


  • the table content after import: