4 Messages
•
605 Points
Validation Script that Checks whether Column Name and Column Description are identical
Hello,
Can someone help me and share a validation script that checks if the description of a column is not identical to the column's name? I tried to use the below one but I failed.
rule {
isNotEqual(attributes.'Description'?.first(), attributes.'Name'?.first(),
message: "The description cannot be the same as the asset name.")
}
Thanks in advance.
grantrollerson1
164 Messages
•
11.7K Points
3 months ago
you might prefer to solve via Given | When | Then ... Advanced validation script structure
0
0
laurenzhiller1
27 Messages
•
2.3K Points
3 months ago
Hi @emiliawalencik1 ,
think you might need to change your validation rule from isNotEqual() to is isEqual(), because you want to display the message when the description and name are equal.
(edited)
4
0