cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
407
Views
0
Helpful
4
Replies

Time conditions on VXML

c.bergamaschi
Level 1
Level 1

Hi all,

on a decision element in CVP studio I need to get an exit status "OPEN" only if general_date_time it's between 15:30 and 20:30.

I can manage hour_of_day and minute separately but not together. I need something like:

If ((<hour_of_day> greater than 15) and (<minute> greter than 30)) and ((<hour_of_day> less than 20) and (<minute> less than 30))

then <exit_state> is "Open"

else <exit_state> is "Closed"

Anyone can help?

Thanks in advance

Chris B.

1 Accepted Solution

Accepted Solutions

Yes, it works with CVP 3.0 and 3.1. You can download it from the Audium Support forum.

Regards,

Geoff

View solution in original post

4 Replies 4

geoff
Level 10
Level 10

Use the Audium Arithmetic.jar and make the calculations. 15*60 = 900. 20*60 = 1200.

So ensure the value of hours*60 + minutes >= 930 and <= 1230.

Regards,

Geoff

Thanks Geoff,

wher I can find this plugin?

Does it work on CVP 3.1 also?

Chris B.

Yes, it works with CVP 3.0 and 3.1. You can download it from the Audium Support forum.

Regards,

Geoff

Ok,

I've found the forum and the Java sample section, but I can't see any attachment.

Do you know why?

Thanks

Chris B.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: