Working with Validator
Advanced ETL Processor Data Validator guarantees to your application database that every data value is correct and accurate.
There are several types of data validation.
- Data type validation
- Range checking
- Code checking
- Complex validation
- Pattern checking
One of the simplest forms of data validation is verifying the data type. Data type validation answers such simple questions as “Is the string alphabetic?” and “Is the number valid?”
As an extension of simple type validation, range checking ensures that the provided value is within allowable minimums and maximums. For example, a character data type service code may only allow the alphabetic letters A through Z. All other characters would not be valid.
Code checking is a bit more complicated, typically requiring a lookup table. For example, maybe your application calculates sales tax for only certain state codes. You would need to create a lookup object to hold the authorized, taxable state codes.
Pattern checking when you checking the structure of the data field for example social security number format or car registration number. Regular expressions used quite often for pattern checks.
It does not matter which business you are in sooner or later you will discover that there is something wrong with the data and it has to be validated. Here when Advanced ETL Processor Validation can help.
Note:
- Records can also be rejected by the Server. *If you have several validation rules and one of them rejects the record and another discards it, the record will be discarded
To change Validator properties double click on it
Tip:
- If no data is present in the grid check the previous step execution log.
About input and output fields:
- List of Output fields is always the same as Inputs.
- List of Input fields is taken from the previous object
Validator Toolbar
- Properties
- Create new tab
- Cut
- Copy
- Paste
- Delete
- Redo
- Undo
- Align Left
- Arrange Vertically
- Align Right
- Align Bottom
- Arrange Horizontally
- Align Top
- Space Horizontally
- Space Vertically
- Snap to grid/show grid
- Prints Mapping
- Print Preview Mapping
- Automap data
- Delete All objects
- Delete All Links
- Search Objects
- Process Data
- First Record
- Previous Record
- Next Record
- Last Record
- Show Objects Panel
- Zoom In
- Zoom Out
- Zoom back to 100%
Note:
We recommend giving the Validator name, it makes it easier to identify problems later.
Debugging Validation
To start debugging validation press the Process Data button . To test data edit it in the Data grid.
To Change Validation Rule properties double click on it
Note:
Use <value> to include actual value into default value
To add a new Validation rule drag and drop it from the Validation rules panel
There more than 190 Validation and 200+ transformation functions at the moment. They are grouped into five different categories
- Transformations
- String
- Number
- Date
- Time
- Regular Expressions
To choose the appropriate category click on the Category toolbar
It is also possible to apply several validation rules to the Input field by joining them
Data is considered validated when all validation rules are succeeded.
Validation Rules
Video Tutorial: