EntVl
EntVl2mo ago

Output is wrapped in a promise

Hello, I have a flow with scripts in it. The problem is that one of the scripts behaves differently from the others. It returns an object, but when I try to access this object in an if statement (or just pass it to another inline script), I can't access its attributes because the entire object is wrapped in a promise. Before returning this object, it's definitely a regular JavaScript object, but after returning, it gets wrapped. What could be wrong?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?