Voiceflow PartnersVPVoiceflow Partners
Powered by
denglanderD
Voiceflow Partners•7mo ago•
6 replies
denglander

Condition step won't work correctly

I'm having a very frustrating issue with a condition step. In a previous step, I am setting a number of different variables. Here is an example from a run debug:

"metadata": {
"variables": {
"candidate_1_city": "Brooklyn",
"candidate_2_city": "Brooklyn",
"candidate_3_city": "Brooklyn",
"candidate_1_desired_schedule": "Part-time",
"candidate_2_desired_schedule": "Open to any work schedule",
"candidate_3_desired_schedule": "Per-Diem",
"candidate_1_state": "NY",
"candidate_2_state": "NY",
"candidate_3_state": "NY",
"candidate_1_languages": "English",
"candidate_2_languages": "English",
"candidate_3_languages": "English",
"candidate_1_discipline": "Personal Care Aide (PCA)",
"candidate_2_discipline": "Personal Care Aide (PCA)",
"candidate_3_discipline": "Personal Care Aide (PCA)",
"candidate_1_desired_shift": "Morning",
"candidate_2_desired_shift": "Evening; Afternoon; Weekdays; Morning; Night",
"candidate_3_desired_shift": "Morning; Afternoon; Evening; Night; Weekdays; Weekends",
"candidate_1_care_setting": "Inpatient; Home Care",
"candidate_2_care_setting": "Home Care; Inpatient",
"candidate_3_care_setting": "Home Care; Skilled (nursing / assisted living)",
"num_candidates": "3"
}


I have a condition step next which is looking to see if candidate_3_discipline is empty. I keep getting this error:

{
"time": 1756932611431,
"type": "debug",
"payload": {
"ref": {
"type": "node",
"nodeID": "68b8a539d07704ebfbd586ba",
"nodeType": "condition-v3",
"diagramID": "64dbb6696a8fab0013dba194"
},
"level": "warn",
"message": "expression failed",
"context": "Condition",
"metadata": {
"error": {}
}
}
}

I've tried doing this about 10 different ways with different variables but nothing is working.
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

Exit Condition doesn't work
tri55555Ttri55555 / ❓┃ask-a-question
5mo ago
❌ Condition Block Failure — Won’t Follow True/False Paths
NicolaasNNicolaas / ❓┃ask-a-question
9mo ago
Bolding a variable won't work
opposite-copperOopposite-copper / ❓┃ask-a-question
2y ago
MS Teams Setup won't work
dramatic-maroonDdramatic-maroon / ❓┃ask-a-question
2y ago