Skip to main content
July 17, 2025
Solved

record field applyvalidation not working

  • July 17, 2025
  • 3 replies
  • 0 views

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

    Best answer by sureshs276515

    HI [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] 

    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!

    3 replies

    stefanhelzle0001
    July 17, 2025

    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!

    sureshs276515AuthorAnswer
    July 17, 2025

    HI [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] 

    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!

    shubhama926776
    July 17, 2025

    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.