Skip to main content
kavyam0002
Brainy
Jul 13, 2022 12:52 PM UTC
Question

error

HI am getting like this error 

what might be the reason?

    2 replies

    stefanhelzle0001
    Brainy
    Jul 13, 2022 1:33 PM UTC

    Seems like you use dot-notation to get the value of a field in an empty list of your CR_REF_PolicyAndProduct CDT.

    Did you try to replace the dot-notation with index() or property()

    gopalk2865
    Participating Frequently
    Jul 13, 2022 1:43 PM UTC

    Looks like , your code is not able to index field "currentStatusValue" . SO CDT "CR_REF_PolicyAndProduct" is an array, you will need to index the current item from this array using index() and then index into your field "currentStatusValue" .