cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4168
Views
15
Helpful
16
Replies

CCX 7.0 Create Generated Prompt Date Test

c3max
Level 4
Level 4

I am trying to create a test timestamp prompt using the Create Generated Prompt step.

I didn't hear anything at first, so I added the welcome system prompt.

Here is what I have so far and I still hear nothing when I play the Generated Prompt:

script.jpg

creategen.jpg

What can I do to test?

Thanks,

-C

16 Replies 16

Hello guys great post.  I need to create a date prompt from a var ( ddate )

 

c7.PNG

is it possible to generate a prompt with mmDDYYYY?  all the examples are reversed. 

Looking at the documentation:
https://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/crs/express_11_0/programming/guide/EditorSeriesVol2.pdf

It would appear that the step only supports Date and Numeric type variables, and not Strings. So, you'd have to split your string up, into it's components, and convert to int.

Example:
month = (int) ddate.split("/")[0]
day = (int) ddate.split("/")[1]
year = (int) ddate.split("/")[2]