https://discord.gg/botpress logo
is there a permanent kind of variable
# 🌎general
q
is there a permanent kind of variable
w
q
yes but i am using it and it isnt working for some reason
w
please let me see the iteration condition
username is present
q
in condition i have written: !!user.UserName and !user.UserName in the 2 expression transitions.
w
in usernam is present write
user.UserName
, delete the second condition and connect your node to
get_username
q
okay
hmmm when i put in user.UserName instead of the condition !user.username it ends and doesnt pass on
!user.username means that there is no value of uservariable Username
w
checkin
user.UserName
is true if exists or has a value
are you using Person Name card? Pay attention that returns an object not a string https://www.botpress.com/docs/learn/reference/cards/capture-information#person
@loud-crowd-60573 @quiet-raincoat-85414
q
im using person name card yes it shows like that