Post new topic Reply to topic  [ 4 posts ] 

Board index : TeleFlow Forums : Feature Suggestions

Author Message
 Post subject:
PostPosted: Tue Aug 09, 2005 2:30 pm 
Offline

Joined: Mon Mar 15, 2004 3:55 pm
Posts: 35
Location: USA
There currently are only two global events. Fatal and Hangup. A user defined global event would be nice.


Back to top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 10, 2005 9:49 am 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
How do you see this working? <br> <br>At present, the global events in place are events that occur / are detected at a level the TeleFlow Application programmer doesn't have access to. As such, how would one set / detect / use such a user defined global?


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Wed Aug 10, 2005 11:10 am 
Offline

Joined: Mon Mar 15, 2004 3:55 pm
Posts: 35
Location: USA
Well, actually, you can. <br> <br>You can force a fatal error with a fatal stop step. <br> <br>What I do, depending where in the code flow I want to change major event handling is I use the Set Global Event step to change the global label to jump to when either an application error is encounter or when I force a fatal error condition with the Fatal Stop step. <br> <br>This way I have control over reentry points in my main program.


Back to top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 10, 2005 12:48 pm 
Offline

Joined: Mon Mar 15, 2004 3:55 pm
Posts: 35
Location: USA
Update: <br> <br>I found after setting global event for the first time, subsequent settings in other flowcharts does not change the label target. <br> <br>The simple workaround was create a global variable named Event_Type <br>and load it with whatever I want. <br>e.g. HANGUP, TCP_TIMEOUT, etc. <br> <br>Then in the main flowchart where the first instance of set global event points to the label, use a case statement on Even_Type and branch from there. <br> <br>I could then load Event_Type in other flowcharts depending on what I want to trap, do a HANGUP with goto Global Event.


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

Board index : TeleFlow Forums : Feature Suggestions


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.