cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

155
Views
5
Helpful
1
Replies
Highlighted
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
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

If you found this post helpful, please consider clicking that helpful button!

And for a limited time, by marking helpful posts, you're also helping Doctors Without Borders

View solution in original post

1 REPLY 1
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

If you found this post helpful, please consider clicking that helpful button!

And for a limited time, by marking helpful posts, you're also helping Doctors Without Borders

View solution in original post

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here