Hello everyone,
I am trying to develop a bot internally in Genesys Coud.
In my Bot Flow, I need to ask the user for an alphanumeric code (for example AGXX002299).
To do this, I created a Regex slot type and I use this regex: [a-zA-Z0-9 , .*]+
However, when I pronounce the code, he understands it with spaces, i.e. collect: "AG XX 002 299" (I found this out by printing the Session.LastCollectionUtterance).
But there is a problem: in the slot it saves only the first occurrence it finds without a space, i.e. in the slot it saves me only "AG".
I want the slot to capture the full code. How do I get the full code to save in the slot? (It's okay even with spaces, as long as the alphanumeric part is all of it).
Even if the code consists of "multiple parts", it must save it all in the same slot.
Maybe, I got the Regex wrong?! But I have tried the different codes in the "Test Utterance" and each time it matches them with the regexes correctly. (I have tried also in https://regexr.com/).
Can you help me?
Thanks in advance,
Sere
#ConversationalAI(Bots,AgentAssist,etc.)#DigitalChannels#Implementation------------------------------
Serena Spaccesi
Indra Italia spa
------------------------------