One of the issues that I have seen with this is that there is no check that the Prompt listed in the Data Table actually exists! I would therefore use the Architect operation Find User Prompt rather than the function you have currently - this will allow you to gracefully handle if the Prompt has been deleted, or there is a type in the Data Table.
There is an idea out there concerning Data Table schema. If you look at my comment from July 23rd, where I have proposed adding internal objects (like Prompts) as data types for tables.
HTH
------------------------------
Paul Simpson
Views expressed are my own and do not necessarily reflect those of my employer.
------------------------------
Original Message:
Sent: 08-15-2024 04:20
From: Thiago Mendonca
Subject: Prompts & Data Table
Thank you Melissa and Christoph,
The below worked just fine.
14- update lookup to dnis
flow.lookup = Substring(Call.AddressOriginal,1,15)
15- data table lookup
548- play audio
ToAudio(FindUserPrompt("Prompt1")
------------------------------
Thiago Mendonca
AXA Partners - UKI
------------------------------
Original Message:
Sent: 08-14-2024 02:14
From: Christoph Domaschke
Subject: Prompts & Data Table
Hi Thiago,
in addition to what Melissa wrote, how to get the called DNIS, you will need the "Find user prompt"-action in architect to get the prompt. You can play this prompt with "play audio"-action with the expression "ToAudio(Flow.FoundPromptName). Of course you will have to replace "FoundPromptName" with the prompt-variable that was the result of "Find user prompt".
Best regards
Christoph
------------------------------
Christoph Domaschke
CRONBANK AG