https://discord.gg/botpress logo
Userdata in workflow issue
# 🤝help
g
Hey everyone, I’m facing an issue with a chatbot workflow integrated via React. I’m passing user data into the workflow and storing it in a variable called userdata using event.userid. Later in the workflow, I try to access the username using @workflow.userdata.userdata.username. It works sometimes but fails other times. Has anyone faced this kind of inconsistency or know what might be causing it?
p
Are you doing so programmatically? If so could you provide the code to help identify the issue?
g
Not programmatically
Just added on the workflow
First we get the userdata from an standard node and store it in the workflow variable
p
Could you send pictures of you variables and workflow or a report ID. I don't see why there'd be inconsistencies...