Create a conditional constraint to restrict the data generated in a column based on the data in another column. Configure an expression to create a conditional constraint.
In a project, click
Discover
Tables
.
Click the table in which you want to create the conditional constraint.
Click the
Constraints
tab.
Click
Create New Constraint
.
The
New Constraint
dialog box appears.
Enter a name for the conditional constraint.
Select the constraint type as Conditional.
Click
Next
.
Create an expression in the
Expression Builder
. Select the required columns, functions, variables, and operators to build expressions.