Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Holiday day in IPCC

Hi,

I`m using IPCC with different applications and I don?t know how to choose a path inside my script depending day of year. I can choose a path depending day of week or hour of the day.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Gold

Re: Holiday day in IPCC

Hi,

You have to use java steps in your script in order to get the current date in your script.

Use the datetime functions that you have available in the 'java' steps.

Hope this helps,

Juan Luis

5 REPLIES
Gold

Re: Holiday day in IPCC

Hi,

You have to use java steps in your script in order to get the current date in your script.

Use the datetime functions that you have available in the 'java' steps.

Hope this helps,

Juan Luis

New Member

Re: Holiday day in IPCC

Gracias

New Member

Re: Holiday day in IPCC

Hi,

What we did in our call center for holidays is we created a simple XML file (Holiday.XML) and entered in the holidays for our company. In the scripting we pass the file into a parameter and see if the date is within the file. If so, branch to a different part of the script. If not, then continue on with the current path.

New Member

Re: Holiday day in IPCC

Hi,

Have you any example for this file holiday.xml??

Thanks

New Member

Re: Holiday day in IPCC

It's ugly, but use the Built-in functions of the IF statement to check for month() and day(). It should be fairly easy to check for julian days as well.

This logic is often moved to an administrative script where a global variable can be set and referenced by subsequent scripts.

195
Views
5
Helpful
5
Replies
CreatePlease to create content