Is fullTicket created during the flow or is it generated alongside the client?
According to the documentation: "The setVariable function is only available in script executed on the server, so it won’t work if the Execute on client? is checked."
Considering that it is already a variable defined on the client side:
I would recommend using the following solution:
- use a variable block to define fullTicket by checking to run on the client side
- now use the script block running the setVariable on the server side.
Considering that it is already a variable defined during the flow, the only thing I would remove would be the first step I mentioned and remember to always use json parse, since the variables in typebot will always be converted to a text or a list of texts before the variable is saved in the database.
Example flow: