Obtaining date in CRS script

Unanswered Question
Feb 14th, 2008
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ibodalija Thu, 07/10/2008 - 04:27
User Badges:

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@hp.com Thu, 07/10/2008 - 05:36
User Badges:
  • Red, 2250 points or more

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

Actions

This Discussion