A cleanse function can be used to perform custom data validation.
Validation results are processed if the cleanse function has a validationStatus output parameter.
If the validationStatus parameter is blank, there are no validation errors and the process can continue.
If there are validation errors, the validationStatus parameter will include a series of validation messages describing the inputParameter name and a message. In the IDD application UI, each validation error is associated with an input value in a specific input column.
The Resource Kit contains the ValidationCleanseLib sample, which provides an example of a cleanse library with functions that perform validation in an IDD application.