Post new topic Reply to topic  [ 5 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator

Author Message
 Post subject: formatting date for "say" step
PostPosted: Mon Mar 30, 2009 1:52 pm 
Offline

Joined: Mon Jan 26, 2009 6:19 am
Posts: 7
I have customized the date settings on my computer via control panel, regional and language options. They are now YYYY/MM/DD. (see attachment)
The date dislpays in this format but when the simulator runs the program it shows the format YYYY-MM-DD (see below). How do I correct this.




Script code is 'EASYPAY DUE DATE'
2009/03/28 15:22:16.602: Script code 'EASYPAY DUE DATE' corresponds to file 'vox\eng\scripts\easypay due date.wav'
2009/03/28 15:22:16.602: Playing 'C:\Program Files\TeleFlow\Applications\easypay\easypay\vox\eng\scripts\easypay due date.wav'
2009/03/28 15:22:18.305: [61] Say
2009/03/28 15:22:18.305: Text '@duedate' evaluates to '2009-03-28'
2009/03/28 15:22:18.305: ERROR: Date '2009-03-28' must be of format YYYY/MM/DD
2009/03/28 15:22:18.305: FATAL
2009/03/28 15:22:18.305: Attempting to jump to Fatal Error Global Event label: 'APPLICATION_ERROR'


Attachments:
easypay date issue.pdf [33.32 KB]
Downloaded 1081 times
Back to top
 Profile  
 
 Post subject: Re: formatting date for "say" step
PostPosted: Fri Apr 03, 2009 12:47 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
First off, if the date is being pulled into TeleFlow from an external data source, TeleFlow will pull it into a variable in whatever way that data source provides it. (I.e. TeleFlow doesn't manipulate the data as it populates it to its variables.)

This means you might need to use formatting functions as you bring the data in. (If you are using a query, for example, most databases have date formatting functions you can use to change the resulting date to whatever format you want, such as YYYY/MM/DD)

Having said all that, we have just recently introduced some additional date/time features to TeleFlow that may help you. The most applicable is that TeleFlow now supports dates formatted as either YYYY/MM/DD and YYYY-MM-DD, more or less interchangeably. Where did you download/how did you acquire TeleFlow? I can probably provide you an update package link with a version that would have simply played your YYYY-MM-DD date.


Back to top
 Profile WWW 
 
 Post subject: Re: formatting date for "say" step
PostPosted: Fri Apr 03, 2009 2:18 pm 
Offline

Joined: Mon Jan 26, 2009 6:19 am
Posts: 7
I changed the formatting from date to text in my database and that resolved my issue. I downloaded my version of Teleflow in early January '09,from the Teleflow.org site.


Back to top
 Profile  
 
 Post subject: Re: formatting date for "say" step
PostPosted: Mon Apr 06, 2009 12:46 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
It sounds like your issue is resolved.

However, if you are interested, the patch I mentioned (that introduces a number of date/time features/functions, including the ability to use dates with - or /, rather than just the /) will be available in the next few weeks.

I will post the link to the update package here when it becomes available.


Back to top
 Profile WWW 
 
 Post subject: Re: formatting date for "say" step
PostPosted: Tue Apr 14, 2009 12:55 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
Here is the TeleFlow patch I mentioned previously:

TFUpdatePack2009-0408.zip

I would recommend backing up your \Program Files\TeleFlow directory before replacing the files there. You would also do well to check the change log prior to any installation/patch to see how any of the changes impact your application(if at all), in addition to performing any evaluation/development system testing prior to installing the update on your production system.


Back to top
 Profile WWW 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.