How do the collective mass tend to treat internalIds in script? Feel free to vote 🙂
#️⃣ = Force the values to a number with parseInt everywhere
🧵 = Force the values to a string everywhere somehow
computerrage = Do "==" / "!=" comparisons to not have to care
#️⃣ 1
🧵 3
computerrage 3
j
jen
09/22/2021, 4:52 PM
I go with the String method because for #stupidnetsuitereasons sometimes it has to be a string when returning it as a return parameter from a WF Action script.
w
Watz
09/22/2021, 6:01 PM
Interesting, is that the case regardless of what you set the return type to be in the script?
j
jen
09/22/2021, 6:24 PM
My return type is List/Record (it’s a custom record). If I don’t wrap the returned id value in a
String()
it fails
jen
09/22/2021, 6:25 PM
crabs about INVALID RETURN PARAMETER FORMAT or something