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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Holiday/Not in Service script

Does anyone have a simple, good and quick script suggestion for Holidays. I want to add a few lines to check dates and compare to a holiday list on the CRS server.

I would appreciate the help.

Thanks,

Geoff

8 REPLIES
Blue

Re: Holiday/Not in Service script

See attached script.

please rate posts.

andy - berbee

al
New Member

Re: Holiday/Not in Service script

Can you show me the format for the dates.xml file? I have three different holiday scipts and can't get any to work (won't read the XML files).

Thx - Al Merge Healthcare

Blue

Re: Holiday/Not in Service script

5/30/2005

7/4/2005

9/5/2005

11/24/2005

11/25/2005

12/24/2005

12/31/2005

1/2/2006

Are you placing it in the c:\program files\wfavvid folder?

please rate posts.

andy - berbee

New Member

Re: Holiday/Not in Service script

Hi folks, does anybody know how to validate if the data.xml exist. Because actualy, if the data.xlm file doesn't exist, the script will dead.

New Member

Re: Holiday/Not in Service script

You can use the "On Exception Goto" programming step and choose "com.cisco.doc.DocumentNotFoundException" step to handle this event.

New Member

Re: Holiday/Not in Service script

Andy,

Would it be possible to repost this script? I would appreciate it very much. Thanks!

Paul Giblin

New Member

Re: Holiday/Not in Service script

Can you please repost this script - it has expired

New Member

Re: Holiday/Not in Service script

I think he attached this script. At least, that is the one we are using here.

To use this script from another script, you should use 'Call Subflow' and choose the 'todayIsAHoliday' variable as an output mapping and map it to a local (boolean) variable in the script you are calling the subflow from.

Btw, thanks for the tips on what to do if the file doesn't exist. We were already experiencing this problem, so I will definately try this idea.

173
Views
20
Helpful
8
Replies