Hi,
The easiest way to achieve it is either by using Substitutions or Java code.
Substitutions allow you to create dynamic prompts and/or menu items by using simple GUI. Studio's online help has full description on how to use Substitutions in your project. Go to Help -> Help Contents to open the online documentation for Studio. Briefly, the {} button next to element's settings shows the Substitution window. The drawback, however, is that the data you want to use needs to be already available in the call, either as element data or session data.
If you need more flexibility and/or more control, you can use dynamic configuration. Dynamic configuration allows you to change all configuration options from your Java class. Each Voice element allows to have a dynamic configuration. You can opt for either configuring some options via Java by checking the box "Create Base Configuration" or configure all the settings by using Java.
Please refer to the documentation and JavaDocs for details on how to write a dynamic configuration for an element. You might also find our
Sample Code section helpful.
Note that I deleted you other post, as it seems you posted the same question twice.
Regards,
Michael