- 28 Sep 2021
- 1 Minute to read
- Print
- DarkLight
External Database Integration
- Updated on 28 Sep 2021
- 1 Minute to read
- Print
- DarkLight
Overview
Decisions has the capability to integrate external Databases. It can integrate other relational databases such as MSSQL, MYSQL, ORACLE, AZURE, POSTGRES, ODBC, and AZURESYNAPSE. Decisions can also integrate with non-relational databases like MongoDB. To set up either integration, there are two ways to create them:
1) in a Designer Project, click CREATE DATATYPES/INTEGRATION, then click Database Integration.
2) In the Databases Folder within the System Folder, click Create Connection.
Both avenues show the same prompts, only the initiation process is different. The example in this document will show the process through the Databases Folder.
- Create an external database that can be connected to your environment. If one needs to be created, refer to 'Creating a Database in MSSQL for Decisions' before proceeding.
Connection Errors
- If connection errors are being experienced, verify the default ports for the Database are open in the Database Server firewall, or the network firewall.
Example
- In the Folder Tree, navigate to System > Integrations > Databases.
- Locate Create Connection in the Top Bar.
- In the Database Integration window, complete the fields required for integrating with an External Database.
Connection Settings | |
Connection Name: | The name that will be displayed in the Databases Folder. |
Database: | The type of database that will be integrated with; options include MSSQL, MYSQL, ORACLE, AZURE, POSTGRES, ODBC, AZURESYNAPSE. |
Use Agent: | Check this setting to have Decisions get the integration settings from a Database Agent. |
Use Custom Connection String: | An optional field allowing users to connect a Database via a connection string. |
Server Name: | The DNS name or IP of the server running the Database. |
Windows Authentication: | Checking this box will use the windows logon to access the Database. |
User Name: | Username of the SQL account used to access the Database. |
Password: | The password of the SQL account access the Database. |
Updating External Connection String
It may be necessary to have the connection string of an external database updated when migrating from a development environment to a production environment.
- Navigate to System > Designers > Lookup Lists and Constants.
- Right-click the desired Entity and select Edit.
- Under the VALUE category, paste in the updated connection string in the String Value field.
- Click SAVE CONSTANT.