The AI-powered data generation feature creates sample test data to help you check rule expressions for both pass conditions and row filters before applying them to your datasets. It produces a set of records to verify expression correctness and intended outcomes.
To validate the test data generated by expressions in the row filters or pass conditions in the rules page:
- Define the conditions in the rows filter or pass conditions on the Create Rule page.
- Click Test with AI Generated Data.
- The conditions in the filters are evaluated, and the sample data is generated.
- The Test with AI Generated Data page displays the following details:
- Expression using which the data is generated.
- Generated data: The generated data is presented in a tabular format.
The Result column is fixed and indicates whether each value has satisfied
the specified conditions and passed or did not meet the defined conditions
and failed. All other columns on the table will be displayed as per the
expression. Tip: The sample displays a maximum of 20 records (10 Pass and 10 Fail), offering an accurate representation of how the conditions are evaluated.
- The data in each of the columns in the table can be sorted depending on the requirements.
Once you are satisfied with the generated sample, you can proceed with the next steps of creating the rule. If you notice any discrepancies in the generated sample, you can modify the conditions in the filter and regenerate the sample data.
Note: Sample data will be generated exclusively for valid
expressions. If an invalid expression is entered in the conditions, the Test with
AI Generate Data feature will be disabled.