Skip to main content

Database Join

Description

Database join is a step in the Lookup Plugin for Process Studio Workflows. The Database Join step runs a query against a database using data obtained from previous steps. The parameters for this query are specified as follows:

  • The data grid in the step properties dialog. This allows you to select the data coming in from the source hop.

  • As question marks (?) in the SQL query. When the step runs, these will be replaced with data coming in from the fields defined from the data grid. The question marks will be replaced in the same order as defined in the data grid.

Configurations

No.Field NameDescription
1Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
2ConnectionSpecify the database connection to use for the query.
3SQLSpecify the SQL query to form the join between source parameters and the database connection specified; use question marks as parameter placeholders
4Number of rows to returnSpecify the field name to store Number of rows to return. Zero (0) returns all rows; any other number limits the number of rows returned.
5Outer join?Enable to always return a result, even if the query did not return a result
6Parameters tableSpecify the fields containing parameters. Also specify the data type is required.