cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
2
Replies

Obtaining date in CRS script

shikamarunara
Level 4
Level 4

Hello,

I have read the article on configuring date retrieval in CRS scripting but still have some questions hopefully someone can help me with.

Here is the article;

http://cisco.com/en/US/products/sw/custcosw/ps1846/products_qanda_item09186a0080204513.shtml

My main problem is that I can't find an object called "Create Java Object". There is only a "Create Java Remote Object". Am I reading this wrong?

Plainly, I am looking for a way to pull a date from the CRS server so that I can configure an IF object to route calls to voicemail on specified holidays.

Any help is appreciated,

-Shikamaru

2 Replies 2

ibodalija
Level 1
Level 1

Hi.

You can use set step with following syntax:

set todaysDate = D[now]

Also you have many other date methods such as:

D[now] .dom - result is day of the month

D[now] .dow - result is day of the week

etc.

regards,

i.

geoff
Level 10
Level 10

Creating a Java object is now all done using the Expression Editor. It all works - you just need to figure it out. Check the manual.

Regards,

Geoff

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: