Skip to content

How to Configure Third-party Data Sources

Third-party data sources are used to read data from business system databases, commonly in scenarios such as organization structure integration.

Use cases

  • Reading organization data from the business database via SQL
  • Accessing business tables from workflow logic
  • Connecting the workflow engine to multiple external databases

Configuration steps

Sign in to the workflow management console and open the data source configuration page to add a third-party data source.

Configure third-party data source

Configuration fields

FieldDescription
NameDisplay name for the data source
IdentifierUnique ID; cannot be changed after save; referenced in code
Database typee.g. MySQL, Oracle, DM
Database URLJDBC URL including host, port, and database name
Username / PasswordBusiness database credentials
Pool settingsMax/min connections, initial size, max idle time, etc.

Steps

  1. Fill in connection details
  2. Click Test connection to verify connectivity
  3. Click Save after a successful test

Note

  • The identifier cannot be changed after save; use a meaningful name (e.g. business_db)
  • Ensure network connectivity between the workflow server and the business database, and that the account has read access to required tables

Using in code

After configuration, set the third-party data source identifier in implementation code (e.g. organization builder):

Data source identifier reference

Example: specify the identifier in OrgBuilderImpl.java so organization SQL queries use the business database.