Issue with Execute code : workflow.messageCount +=...
# 🤝help
r
In order to count user questions, I've created a numeric variable called messageCount which starts from zero. Then I use the execute code card :workflow.messageCount += 1 each time a user asks a question to increment the value of messageCount by one. This worked flawlessly before; the number would successfully increment with each new question. However, today when I logged in to check, the variable seemed to be stuck at 1 (not adding up) despite the logs showing the execute code card has run. Does anyone have any idea why this might be happening? Thanks

https://cdn.discordapp.com/attachments/1136947992331567116/1136947992935551016/image.png