I have the following error,
I am trying to display a card info on vehicles. Expression rule works properly.
Please help me on how to understand this error.
Thank you.
Discussion posts and replies are publicly visible
What kind of data does that expression return? Is that a list of records?
Yeah this makes me think that the type of data in your local variable doesn't match the record fields you're indexing from in line 16. Also keep in mind that functions that don't use the a! prefix don't use keywords, so you shouldn't use the "condition", "valueIfTrue", and "valueIfFalse" keywords when using the if() function.
Yes, it is a list of records
Thank you, I will check the type of data
In that expression, do you also fetch the related data you try to index later?