Skip Transition In Raw Input
# 🤝help
f
If I have a raw input card and I want the card to be skipped if the variable is already filled, it only works with workflow variables, and not user variables. I solved the issue by saving the variable in a workflow one and then saving it back but this not very practical. Report ID: report_01HYQPSDNHXJY4YD1WWJJZG2XV https://cdn.discordapp.com/attachments/1243882526703878215/1243882527077433374/image.png?ex=66531760&is=6651c5e0&hm=d64b5458da5381d8704a603b2f99afd5b122d62fccddfb15d15b988134d9b78f&
@fresh-article-37001 I made you this little template. it checks if the user.name (change with what you want) is undefined or empty and it uses a transition with a boolean to skip or not the card
The expexted behavior is not to ask the sorry, you must enter your name since the name is already filled
w
OK, but does the code produce the expected behavior?
f
Yeah
w
so ? you don't want to use code ?
f
I can I already had the issue fixed by temporarily storing the value in a workflow variable
w
that's a very simple code, and it doesn't not copy your variable
f
But I just wanted to raise an issue that was happening
I know
But the transition isn't working as expected by botpress
w
oh yeah i just saw, that was on the corner of your screenshot
f
Yeah that boolean option only works for workflow variables
I just wanted to raise the issue that it isn't working for user variables
w
hum
f
I will also replace my workflow variable with the card you gave since it's quicker that way I think
botpress probably does the same in the backend
w
yes probably
indeed that doesn't work
f
Yeah
I guess a botpress team member needs to fix it
Can't really do anything about it
w
yup
7 Views