Forum Discussion
Gabe_V
3 years agoHelper I
Receiving errors when trying to pass and evaluate fields between functions
Hi folks, Hoping someone can help me because I'm stumped (and also kind of a newbie). I have made a custom function, and need to reference it from my main query, passing in each record and a spe...
ImkeF
3 years agoCommunity Champion
Hi Gabe_V ,
when you use the 2nd short function without the curly brackets in the function call:
What does the error message say then?
Gabe_V
3 years agoHelper I
Hi ImkeF,
When I use the shorter function and don't use the curly braces in the function call, I get the following errors:
If the [DescriptionTypeValue] field is null, then I get: "We cannot convert the value null to type Text"
If the [DescriptionTypeValue] field is another value (even if the value is the "(SMT)" that I'm looking for, as used in the example here), I get "The field '(SMT)' of the record wasn't found.
It looks like its looking for the value as the field name...?