Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Dynamic Slot unable to parse string

    Posted 04-01-2025 07:45
    No replies, thread closed.

    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
    ------------------------------


  • 2.  RE: Dynamic Slot unable to parse string
    Best Answer

    Posted 04-01-2025 13:38
    No replies, thread closed.

    Hello Karthik,

    You may want to look into Replay Mode in Architect. This will allow you to see which path the flow takes, as well as the values stored in the variables.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Dynamic Slot unable to parse string

    Posted 04-01-2025 14:50
    No replies, thread closed.

    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.
    ------------------------------