cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4551
Views
20
Helpful
7
Replies

UCCX 12.0.1 Calendar sample script

shaijal.allipra
Beginner
Beginner

I have upgraded CCX to 12.0.1 recently, I try to add CCX new Calender feature in script, however I could not complete it. Can any one share one sample script which shows Calender steps in script. 

1 Accepted Solution

Accepted Solutions

Yes, on the script itself you will need to select the next action of what you would like Business Hours to do. Same as Holiday and the rest.

 

Then you will need to go into the CCX, go into the application management and then select the variable for calendar and associate the calendar you have created from the calendar management.

View solution in original post

7 Replies 7

Ahmed Adeyemi
Participant
Participant

Here is a sample script for Calendar. Note that you will still have to associate the calendar to the application

Thanks, 

So, I just need to specify the actions under Calendar step in script and rest ( business hrs, holiday) manage from Application. Is that correct?

 

Yes, on the script itself you will need to select the next action of what you would like Business Hours to do. Same as Holiday and the rest.

 

Then you will need to go into the CCX, go into the application management and then select the variable for calendar and associate the calendar you have created from the calendar management.

Thank you very much

shaijal.allipra
Beginner
Beginner

I have implemented new script with CCCalendar. how can I hardcode this variable in script or do I need to choose the calendar from application always. I have few subscript, those sub script I need go with old method then

 

 

This isn't the best solution, but if you click on one of your Calendars in AppAdmin, the URL in your address bar will end with something similar to:

/appadmin/calendar/edit.do?calendarId=1

You can take that ID, and use it in a Set step in your script like this:

Variables

CCCalendar target_calendar = null (Parameter)

Script Steps

Set target_calendar = new CCCalendar("1")
Calendar (target_calendar)
  Business Hours
  Holidays
  The Rest
  Failure


@shaijal.allipra wrote:

I have implemented new script with CCCalendar. how can I hardcode this variable in script or do I need to choose the calendar from application always. I have few subscript, those sub script I need go with old method then


I assume passing the CCCalendar variable into the subscript would also work.

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:

Recognize Your Peers