Works in studio but not after published
# 🤝help
Hello, here is the error I got after posting (I made a screenshot) ) "Actions Error executing action "inline-ins-96da1f31ea.js" in flow:Main:node:position [TypeError, workflow.updateMsgsFct is not a function]" and " er X [Error]: An unknown error occurred" In studio i have a variable "updateMsgsFct" which I created as an object and it is a function (I made a screenshot) : workflow.updateMsgsFct = function (role: string, content: string) { ... } And i called it when i need : workflow.updateMsgsFct(...) I think the problem comes from there. But it's strange that it works great in the studio but not after publishing. It's still very annoying not to have the same behavior in the 2 env :/ Now I'm really stuck because I don't know how to do it, can you help me ?

Someone to help me with this problem ? 🙃