https://retellai.com/?utm_source=discord&utm_medium=seo logo
Equation transtion is not getting evaluated right
# ❓・ai-evy-support
j
@AI Evy Equation transtion is not getting evaluated right
a
Thanks for tagging me @japhetgan. I'll look through relevant sources and get back to you shortly.
### Answer I can help troubleshoot equation transition issues. Here are common problems and solutions: Equation Condition Evaluation Order [(1) ]() All equation conditions are evaluated first (before prompt conditions) , from top to bottom. The agent transitions on the first condition that evaluates to true. Common Equation Condition Issues 1. **Variable Requirements**: You can only use variables that are passed in as dynamic variables for equation conditions. If you need information extracted by the LLM during the call, use prompt conditions instead. 2. **Operator Types**: -
==
,
CONTAINS
,
NOT CONTAINS
, and
!=
are string comparisons (don't require numerical input) - Other comparison operators (
>
,
<
, etc.) require numerical input and will always evaluate to false if the input is not a number 3. **Variable Existence Check**:
Copy code
- {{variable_name}} exists
- {{variable_name}} does not exists
Troubleshooting Steps 1. Check that your dynamic variables are properly defined before the equation evaluates 2. Verify you're using the correct operator type for your data (string vs. number) 3. Review the order of your conditions—remember they evaluate top to bottom 4. Add [transition finetune examples]() if needed Can you share your specific equation condition so I can help identify the issue?
​ To learn more, see the sources I considered: [[1] Step 3: Add transition conditions](https://docs.retellai.com/build/conversation-flow/transition-condition) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.