Hi Team,
we are trying to implement record field validation through applyvalidation function , its not it working as expected, please refer below screenshot,
this is the screenshot of pre-configured validation code
in UI we tried to implement validation but it didn't worked as expected , as shown below,
please suggest if missed anything configured.
Note: I have tried this logic appian community edition
thanks in advance
Discussion posts and replies are publicly visible
In your validation code, you just write the record field reference. I think it should be more like rv!record[<Field Reference>].
Update: I am wrong. there is no need to use rv!record here.
https://docs.appian.com/suite/help/25.2/Appian_Release_Notes.html#new-functions-to-support-record-field-validations
Second update: I was right. The screenshots in the release notes are wrong. What a mess!
HI Stefan Helzle
I have changed to rv!record, then it works fine, as shown below
but in the release documentation we have noticed that it is not suggested to use rv!record option
please let me know if i missed anything!
In Record field validations, you must use rv!record to reference other fields - direct field references don't work. We are using rv!record because the documentation is misleading; the direct record field references shown in examples don't work properly in actual validation expressions.