If I were you, I would try creating a list variable and populating it with an Update Data action, then use it in your Dynamic Slot. Then, as Jason said, you can use Replay mode to examine what is going on (including exactly what kind of list is being created!
In general, I find it's best to not try to do too much in a single hit.
If you did this, you would find that the collection being created by MakeList(SchoolList) is creating a list with a single value (your string) in it, not breaking it apart using the commas, as you expect. I would investigate the Split() function, as this breaks a string up based on a delimiter.
HTH
------------------------------
Paul Simpson
Views expressed are my own and do not necessarily reflect those of my employer.
------------------------------
Original Message:
Sent: 04-01-2025 07:44
From: Karthik Ageer
Subject: Dynamic Slot unable to parse string
Hi Everyone,
I am using a Data Action to retrieve school names from the database. The names are then passed to the Bot Flow as a string in the following format:
"School Name1", "School Name2", "School Name3"
In the Bot Flow, I have a Dynamic Slot named School Name. In the Bot Flow settings, I have set SchoolNameType as:
MakeList(SchoolList)
The SchoolList variable is just a string containing school names separated by commas.
However, School slot is not being recognised by the bot and it is taking no match path.
Could you please help me resolve this issue?
#ConversationalAI(Bots,AgentAssist,etc.)
------------------------------
Karthik Ageer
------------------------------