cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
151
Views
5
Helpful
1
Replies
Beginner

UCCX Script editor time variable alteration

I am trying to create a script where you indicate a specific time in the UCCX and the IVR calls you back on that time, for now I have only made it so that it calls you on the XX:00:00 mark, exactly on the hour. I can not alter specifically minutes in the time variable.

 

image.png

 

As you can see this specifically alters the variable TimetoCall to 2 AM, but is there a way I can use a different SET command to offset just the minutes?

for example, something like this:

 

 image.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
VIP Advisor

Re: UCCX Script editor time variable alteration

Did you know that UCCX Time objects of are of type java.sql.Time?

 

The documentation online shows that this Time class inherits some methods from java.util.Date, such as setMinutes().

 

https://docs.oracle.com/javase/7/docs/api/java/sql/Time.html

 

See if that doesn't help you.


Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

View solution in original post

1 REPLY 1
Highlighted
VIP Advisor

Re: UCCX Script editor time variable alteration

Did you know that UCCX Time objects of are of type java.sql.Time?

 

The documentation online shows that this Time class inherits some methods from java.util.Date, such as setMinutes().

 

https://docs.oracle.com/javase/7/docs/api/java/sql/Time.html

 

See if that doesn't help you.


Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

View solution in original post

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards