https://retellai.com/?utm_source=discord&utm_medium=seo logo
Equation Based Transitions
# ❓・bug-report
p
Hey, i am trying to do an equation based transition from a function node but it does not seem to work. prompt based transitions work fine. Any idea how to get this to work. i have a variable ai_enabled that is a string true or false. and setting the condition to transition on true and false leads to it hanging in the function node. @User
s
could you share equation you are writing
p
ai_enabled = true
ai_enabled = false
i tried true and false as strigns and booleans
s
{{ai_enabled}} == "true"
i just need to add {{ ?
that fixed it. amazing! thanks