Zynk Workflow Documentation

The ODBC Repeater task will execute a Query against an ODBC database and run series of sub-tasks for each row in the results. For example, you could use the querySELECT Email FROM SALES_LEDGER and the Send Email task as a sub-task to send an email to each customer in a database.

Settings

Query

Required
The SQL query to be executed. See below for an example. You can use the Query Designer to build the query visually.

Connection

Required
The ODBC Connection to use. See the Connecting to an ODBC Database article if you require more information on how to create/manage connections.

Zynk Settings

See Common Task Settings

Context Variables

The task will convert each row to context variables, the name of the variables depend on the names of your columns in the query. To use these variables, reference them in templates as @Context.Current["ColumnName"] or within other task settings using the Razor option.

Examples

You can find an example of how to use this task in the ODBC Connector tutorial.

Sample query, which will select all records from the Customers table:

SELECT * FROM Customers

Back | Edit on Github