cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
217
Views
0
Helpful
5
Replies
Highlighted
Beginner

Calendar Step CCX

Hello,

 

I am using Calendar step successfully and everything is working as expected but Is there a way for example to get the Calendar date from the script itself. 

 

For example to create any kind of XML or JSON document (with the corresponding steps) with Calendar data and after that I could use these data for Prompting the working hours.

 

I can retrieve only something like this: "§com.cisco.cccalendar.CCCalendar§CCCalendar [id=1]§" but no data.

 

Any suggestions would be much appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
VIP Mentor

Re: Calendar Step CCX

I poked around the calendar object a little and found nothing.  But that's ok, because you can access the calendar configuration via the Admin API, using the Make REST Call Step.

 

https://developer.cisco.com/docs/contact-center-express/#!get-calendar/get-calendar

 

Do you know how to use this?


Anthony Holloway

View solution in original post

5 REPLIES 5
Highlighted
Participant

Re: Calendar Step CCX

Not sure what result format for which you are looking.  Here's a method to create a short date in a variable of type 'String.'

Set a variable of type String = to an assignment type variable Date (create these below in the variable pane first). 

2020-0405-newDate0.png

 

Open the Expression editor for the assignment variable.

2020-0405-newDate.png

1.  Click the Date tab

2.  Click on the Date constructor and select "new Date()"

3.  Validate new Date() shows in the expression editor pane

4.  Click 'OK'

 

Select the "Short Date" option in the resulting window.  Click "OK."

2020-0405-newDate2.png

When this step item runs, it will produce the date in the following format MM/DD/YY:

2020-0405-newDate3.png

 

Hope this helps.

-Sean

Highlighted
Beginner

Re: Calendar Step CCX

Hi Sean,

 

Thank you very much for the detailed explanation.

 

I was not searching exactly for this kind of data.

 

Thank you for your replay on that topic. 

 

 

Highlighted
Participant

Re: Calendar Step CCX

No problem. I'm not yet using the calendar step...

Best wishes.
-Sean
Highlighted
VIP Mentor

Re: Calendar Step CCX

I poked around the calendar object a little and found nothing.  But that's ok, because you can access the calendar configuration via the Admin API, using the Make REST Call Step.

 

https://developer.cisco.com/docs/contact-center-express/#!get-calendar/get-calendar

 

Do you know how to use this?


Anthony Holloway

View solution in original post

Highlighted
Beginner

Re: Calendar Step CCX

Anthony,

 

Thank you very much!

That is exactly what I am searching for. 

CreatePlease to create content
Content for Community-Ad
Future of Work Virtual Summit Day 5

Cisco COVID-19 Survey