Works in studio but not after published
# 🤝help
e
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 ?

https://cdn.discordapp.com/attachments/1133287848833986590/1133287849060466808/Capture_decran_2023-07-25_083424.png

https://cdn.discordapp.com/attachments/1133287848833986590/1133287849345699890/Capture_decran_2023-07-25_083959.png

Someone to help me with this problem ? 🙃