Post new topic Reply to topic  [ 4 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator

Author Message
 Post subject:
PostPosted: Wed Mar 03, 2004 6:05 pm 
Offline

Joined: Thu Feb 12, 2004 6:05 pm
Posts: 3
I want to generate a random file number everytime the user selects an item and I designed Teleflow so that the user has to pass through a random number step each time he begins a new selection. However, TF failed to generate a new random number for each passing call and included items from several callers into a single text file (the title/name of this text file is generated by the random step). This suggests that only one number was generated and data from several callers were appended to the same file created by this random step. <br> <br>My steps are as follows: <br>Start <br>Random number icon defined @RANDOM=0000000 to 9999999 <br>Set Global variable @FILE=@RANDOM <br>FINISH <br> <br>Everytime a call comes in, it passed through this step first before going through the rest of the flow. User will be looped back to this step if he wishes to continue. <br> <br>Please tell me how I can make each number unique. <br> <br>Terry


Back to top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 03, 2004 6:35 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
Does the file need to have a random number, or just a unique name? <br> <br>Since random is likely to - eventually, at least - recreate the same numbers, I don't believe it is what you are looking for. <br> <br>I would suggest that you use the following to create a truly unique filename: <br> <br>The date (use TeleFlow system variable @DATE, and strip out all of the '/' characters from it), the time (@TIME, without the ':' characters), and the telephony port. (@PORT) <br> <br>Put those together in a filename, and it will be unique. (As you can only have 1 call on a single port at a particular date and time). <br> <br>NOTE: In the TeleFlow application TAP screen (the first screen you see when opening you Teleflow application), open the steps toolbox, and move to the 'Templates' tab. Add the "FindAndRemoveString" flowchart to your application, and use it to strip out the unwanted characters from @DATE and @TIME. You will need to create new variables to populate @DATE and @TIME to in order to use this flowchart, since the system variables are read only. FindAndRemoveString needs variables it can modify.


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Thu Mar 04, 2004 6:12 am 
Offline

Joined: Thu Feb 12, 2004 6:05 pm
Posts: 3
Hi Chris <br> <br>Thanks for the quick response and advice. The unique name was exactly what we needed. <br> <br>We also need to do a "http post" request to our web sever once we get this unique name. Can you tell me how can I do a http post request with TF?


Back to top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 04, 2004 5:23 pm 
Offline
Site Admin

Joined: Wed Dec 31, 1969 5:00 pm
Posts: 329
Location: Vancouver, BC
TeleFlow does not currently support http post. The "Load Web Document" step does exactly what its name suggests: it loads a document from a web source, ie: does an http get. <br> <br>If the ability to post is critical to your application, you can request a customization to TeleFlow through our sales department: sales@engenic.com or 1-888-ENGENIC (1-888-346-3462). <br> <br>Aside from that, a possible work around could be to copy the file to a UNC path, or run an external program using the "Run Program" step.


Back to top
 Profile WWW 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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.