https://discord.gg/botpress logo
AN not following the prompt after timed-out
# 🤝help
n
When I tested my prompts in the autonomous node, it seemed to work well. However, when I tried to simulate a timed-out session and then had the user reply, I transitioned it back to the same autonomous node, but this time it did not follow my prompts. In the original autonomous node, I prompt it to check for the user variables before replying. After timed-out, it seems like it no longer checks the variables. Has anyone experienced this? How do I fix it? I also purposely changed the variables from 'conversation' to 'user' because I want it to retain the data.
w
hi sam! the timeout behaviour is a little weird. i'm fairly sure the conversation is reset after a user response in the timeout node, but only workflow variables are wiped
conversation and user ones are retained, but the user's position in the workflow is also wiped
but that could be an emulator-only problem since it works very differently from production. can you test that somewhere else, like in the webchat?
n
Looks like you're right. It behaves correctly in the webchat 😉