Hello,

If you have a more recent version of BWS

use this command 

RunProject

it'll tie multiple scripts together
...................................
Brian Van Grinsven
Integrated Systems Specialist
Medbuy Corporation
mailto:[EMAIL PROTECTED]
http://www.medbuy.ca
T: 519.652.1688 ext. 114
F: 519.652.2788

Technical Support:
ext. 199 or [EMAIL PROTECTED]

Building Partnerships in Healthcare



[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
01/25/2008 11:33 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: [Talk] Scripts in a Sequence without the Scheduler






Greetings, the number of steps needed in a script depends on the 
conditions it must react to. So a given step may have only one rule 
opening a file for example or could have many rules ie data entry. The 
below is a way to make one rules script callable from another.   If you 
want to convert a vb script to rules, think about the task to script. 
Simple read from file and key in may just.need the following steps - 
connect, open file, check file status, login,  enter record, get next 
record, logoff. More complex the job, more steps needed. 
Sent via BlackBerry by AT&T

-----Original Message-----
From: "Bennett, Brian" <[EMAIL PROTECTED]>

Date: Fri, 25 Jan 2008 10:05:09 
To:"'[email protected]'" <[email protected]>
Subject: RE: [Talk] Scripts in a Sequence without the Scheduler


Thom, I'm feeling very dense this morning, and having a hard time 
understanding your 6 steps below.  I have a VB script now that has 5 main 
sub-routines.  I would like to convert them into Rules scripts but don't 
want to have 40 to 60 steps in one script.  I would like to divide across 
several rules scripts.  On my main launch script is is possible to say at 
"This Step" go to that rules script, when done go back to the main rules 
script, then the next rules script and back to the main, and so on.   I've 
tried RunProject but keep getting errors.  If I have to, I will recreate 
the whole thing under one rules script. 
  
Thanks. 
Brian Bennett 
Affinity Health Systems 
PBS\Clinic Billing 
(920)628-9055 
[EMAIL PROTECTED] 
 
 
 
----------------
 From: [EMAIL PROTECTED] [
mailto:[EMAIL PROTECTED] On Behalf Of Thom C. Blackwell
Sent: Wednesday, November 28, 2007 9:34 AM
To: [email protected]
Subject: RE: [Talk] Scripts in a Sequence without the Scheduler

 
 
 
Greetings, 
Are these Rules scripts or no? 
If they are not Rules- then the script is just a sub routine - so just 
call the main sub for the script at the end. 
  
If the scripts are Rules... 
A couple of ways to accomplish this goal. 
  
We have a command called RunProject. This allows you to basically run a 
Rules script within a project. This is moderately new so, go into VBA 
editor, type in RunProject in a sub routine - if you don't see 
intellisense, then your version does not have this command.... 
  
Another approach that takes some more "setup". 
Step 1. Open the Second script 
Step 2. Go into VBA - find the sub routine called RuleShell 
Step 3. Copy the RuleShell sub routine 
Step 4. Change Sub RuleShell to be something that makes sense to you: 
                Sub TheSecondScript etc. 
Step 5. Save the project, Open the First Script 
Step 6. Put in a Step at the end of the script, add Rule and in its 
action, call the sub routine name from Step 4. 
  
Regards, 
Thom 
  
Thom C. Blackwell 
Product Manager 
Boston Software Systems 
(866) 653-5105 ex 807 
www.bossoft.com <http://www.bossoft.com/> 
  
Sign 
up for my weekly webinar! <
http://www.bostonworkstation.com/customer_center/special_events.aspx> 
  
LEGAL NOTICE Unless expressly stated otherwise, this message is 
confidential and may be privileged. It is intended for the addressee(s) 
only. Access to this E-mail by anyone else is unauthorized. If you are not 
an addressee, any disclosure or copying of the contents of this E-mail or 
any action taken (or not taken) in reliance on it is unauthorized and may 
be unlawful. If you are not an addressee, please inform the sender 
immediately, then delete this message and empty from your trash. 
  
 
From: [EMAIL PROTECTED] [
mailto:[EMAIL PROTECTED] On Behalf Of Brian Van Grinsven
Sent: Wednesday, November 28, 2007 9:59 AM
To: [email protected]
Subject: [Talk] Scripts in a Sequence without the Scheduler 
  

Hello Everyone, 

I want to be able to run 2 scripts one right after another, without using 
the scheduler. 

Basically I want to call the second script to run at the end of the first 
script. 

Has anyone ever done this before? 

Thank you for the help. 
...................................
Brian Van Grinsven
Integrated Systems Specialist
Medbuy Corporation
 <mailto:[EMAIL PROTECTED]> mailto:[EMAIL PROTECTED]
 <http://www.medbuy.ca/> http://www.medbuy.ca
T: 519.652.1688 ext. 114
F: 519.652.2788

Technical Support:
ext. 199 or [EMAIL PROTECTED]

Building Partnerships in Healthcare 
**********************************************************************
This e-mail and any attachments may contain confidential and 
privileged information. If you are not the intended recipient, please 
notify the sender immediately by return e-mail, delete this e-mail and 
destroy any copies. Any dissemination or use of this information by a 
person other than the intended recipient is unauthorized and may be 
illegal.
**********************************************************************


**********************************************************************
This e-mail and any attachments may contain confidential and 
privileged information. If you are not the intended recipient, please 
notify the sender immediately by return e-mail, delete this e-mail and 
destroy any copies. Any dissemination or use of this information by a 
person other than the intended recipient is unauthorized and may be 
illegal.
**********************************************************************

Reply via email to