Does any faced the issue in interface when you use the typeOf() function against record in any interface or rule. In my case I have use a condition to check for particular record type against a list of variants. Its working fine during unit testing in interface level, but while opening that interface via portal link, data are not properly returned because of the invalid value returned in this function.
Discussion posts and replies are publicly visible
Hi
I used typeof() in portal, and it worked for me. Could you provide code snippet?
typeof()
Yes, I'm using the typeof() function against the data returned from particular record type. while testing that in interface it is returning a valid value, whereas in portal it is returning a random value.
in Interface
in portal