Task Factory Data Validation Transform

 Task Factory users running version 2020.1.4 or older (released prior to May 27, 2020): There's an important Task Factory update. Please visit here for more details.

Data Validation Transform

Transform IconTransform Description
Task Factory Data Validation Transform IconThe Data Validation Transform validates data from an SSIS source by using regular expressions defined in the UI.

Options Tab

Task Factory Data Validation Transform Input Columns/Expressions

ColumnContains the column name of the input source column.
ExpressionThis contains the name of the expression used to validate the data in that source column if validation is added to it.
Buttons ColumnThis column contains the buttons used to Add, Edit, or Delete the expression. Edit and Delete are only available if validation has been added to the column.

Input Columns / Expressions

Task Factory Data Validation Transfrom Options

Regular Expression Options

Ignore CaseThis prevents distinguishing between upper and lowercase string values.
Ignore WhitespaceThis ignores unescaped whitespace.
Culture InvariantSpecifies that cultural differences in language are ignored.
MultilineThis changes the meaning of and $ so they match at the beginning and end of any line and not just the string.
SinglelineChanges the meaning of . (period) so it matches every character.

Adding / Editing / Deleting Validation

To add validation to a column, select the button in the far right column of the Input Columns / Expressions tab. This opens the Regular Expression editor.

Regular Expression Editor UI Overview

Task Factory Data Validation Regular Expression Editor

The Regular Expression Editor is used to create, edit, and test regular expressions that can be used to validate your data.

Expressions Library
  • Expressions List - The expressions list contains all of the expressions that are part of your library.
  • Matches / Non-Matches - The text boxes show an example of what will or won't match the expression.
Regular Expression TextboxThis textbox shows the currently selected expression from the expressions list.
Test Expression TextHere you can test the currently selected expression by adding text. Enter each value you want to test on a new line, and then select Test Expression to display the results.

Regular Expression Library Toolbar

There are three options on the toolbar:

Toolbar OptionDescription

Task Factory Data Validation Transform Add Expression button
Add an expression.

Task Factory Data Validation Transform Edit Expression button
Edit an expression.

Task Factory Data Validation Transform Delete Expression button
Delete an expression.

Selecting Add or Edit Expression opens a similar window. Selecting Add Expression opens the Add New Expression window, which is blank, allowing you to input your own values. Selecting Edit Expression opens the Edit Expression window, which has the same fields, just populated with the current rules.

Task Factory Add New Expression
Add New Expression
Task Factory Edit Expression
Edit Expression