TI Shell
Posted: Fri Oct 17, 2008 3:08 pm
Polling the user base for thoughts. Is this idea genious or overkill?
I am building a "Shell" TI Process to use to execute all/most of my processes. Detail partial below.
Idea is to build a most TI's as Functions so the can be reused and abused, and the have a master TI to execute all of the functions.
Process: Shell
Parameter: Process_Name, Process Paramters
Flow
Execute Shell
Input Process_Name (Example "Function - Save")
Input Process Parameters (Example NULL) This is optional based on process being executed.
Process_Status=ExecuteProcess(Process_Name|Process_Parameters);
SaveDataAll;
*End Process Function - Save
ExecuteProcess('Function - Error', 'Function - Error Parameters');
Build Text File for Body of email in TI
Process_Status=ExecuteProcess('Function - Email', 'Function - Email Parameters');
Build Email in TI
Send Email in TI
*End Process Function - Email
*End Process Function - Error
*End Process Shell
Please comment Critisim is welcome.
Thanks in Advance.
I am building a "Shell" TI Process to use to execute all/most of my processes. Detail partial below.
Idea is to build a most TI's as Functions so the can be reused and abused, and the have a master TI to execute all of the functions.
Process: Shell
Parameter: Process_Name, Process Paramters
Flow
Execute Shell
Input Process_Name (Example "Function - Save")
Input Process Parameters (Example NULL) This is optional based on process being executed.
Process_Status=ExecuteProcess(Process_Name|Process_Parameters);
SaveDataAll;
*End Process Function - Save
ExecuteProcess('Function - Error', 'Function - Error Parameters');
Build Text File for Body of email in TI
Process_Status=ExecuteProcess('Function - Email', 'Function - Email Parameters');
Build Email in TI
Send Email in TI
*End Process Function - Email
*End Process Function - Error
*End Process Shell
Please comment Critisim is welcome.
Thanks in Advance.