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 hamsaviruthans
I used typeof() in portal, and it worked for me. Could you provide code snippet?
typeof()
Here is the Example of the issue The Record "M order Details", when we use the function { runtimetypeof() or typeof() } in the Appian Designer UI it returns typeNumber 8049 but the same UI when published as a Portal . I can see the typenumber of the record is changing to some random number 10002.PS: We have also tried with Exposing Record As webApis and integrations to query as well to check the behaviour but it still returns the same 10002 as typeNumberStefan Helzle ,
Why is that record type number relevant?