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
143 Messages
•
9.8K Points
12 days ago
you might prefer to solve via Given | When | Then ... Advanced validation script structure
0
0
laurenzhiller1
22 Messages
•
1.9K Points
11 days 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