Appearance
DB Connections
DB Connections provide a pointer to a database. You configure the DB Connection with the appropriate details for connecting to the database.
By being a separate module from the DB Definition it allows you to create a single DB Definition and use it against multiple similar databases in different locations simply by assigning a different DB Connection.
When assigning a DB Connection to a DB Definition it is considered a design time assignment, when coming to use the DB Definition in an Action you have the chance to reassign the DB Connection. This allows you to use the same DB Definition in multiple Actions each with their own DB Connection. This is run time assignment.
A DB Connection is similar to a System Connection (see System Connections), but serves a different purpose:
- A System Connection refers to (the whole of) a Flow configuration database, for use with Flow Designer.
- A DB Connection is a Flow component held within a configuration database, and typically refers to a separate, non-Flow application database (e.g. CRM, or Accounting).
Create a DB Connection
Open the Flow Designer
Navigate to
Configuration > Components > Data Connections > DB ConnectionsRight click
DB Connectionsand selectNew
Fill in the details and click
Save. See DB Connection
Edit a DB Connection
TIP
A single left click on the DB Connection will also open the edit window
- Open the Flow Designer
- Navigate to
Configuration > Components > Data Connections > DB Connections - Right click the desired
DB Connectionand selectEdit - Change the details as required and click
Save. See DB Connection
Delete a DB Connection
Open the Flow Designer
Navigate to
Configuration > Components > Data Connections > DB ConnectionsRight click the desired
DB Connectionand selectDelete
Click
Yesto confirm your choice
Copy a DB Connection
- Open the Flow Designer
- Navigate to
Configuration > Components > Data Connections > DB Connections - Right click the desired
DB Connectionand selectCopy - The copy of the DB Connection will display in the edit window. Change the details as required and click
Save. See DB Connection
Export a DB Connection
Open the Flow Designer
Navigate to
Configuration > Components > Data Connections > DB ConnectionsRight click the desired
DB Connectionand selectExport
The template file will be assigned a default file name consisting of the name and type of the module. Change the name if desired and click
Save. See Exporting and Importing
Import a DB Connection
Open the Flow Designer
Navigate to
Configuration > Components > Data Connections > DB ConnectionsRight click
DB Connectionsand selectImport
Select the Template file you wish to import and click
Open
Choose the import method and click
OK. See Exporting and Importing A confirmation screen will show what has been imported.
Change Security on DB Connection
- Open the Flow Designer
- Navigate to
Configuration > Components > Data Connections > DB Connections - Right click the desired
DB Connectionand selectSecurity - Change the details as required and click
Save. See Managing Security
Refresh list of DB Connections
- Open the Flow Designer
- Navigate to
Configuration > Components > Data Connections > DB Connections - Right click
DB Connectionsand selectRefresh
Execute bespoke SQL against DB Connection
- Open the Flow Designer
- Navigate to
Configuration > Components > Data Connections > DB Connections - Right click the desired
DB Connectionand selectOpen SQL Window. The SQL Window will open defaulted to this DB Connection. See SQL Window