Rule Actions Explained

Once the Rule Construction has been completed, each rule can be assigned with up to 3 separate actions to perform once the rule has been matched. Each action is defined on its own tab within the Rule - Action area of the rule maintenance screen.
 
Select the required tab and use the drop down list to select the appropriate action required.  The right hand side of the tab changes indicating the appropriate data required by each action.

Display Alert

The Display Alert action is used to display important information to the consultant when a rule has been matched.
 
Select [Display Alert] from the drop down list. The tab changes to show a large field used to enter the information to be displayed.

Make Entry

The Make Entry action automatically sends any cryptic command to the Galileo host.
 
Select [Make Entry] from the drop down list and enter the full Galileo format into the field provided.
 
Once a rule has been matched, the entry is submitted into the booking file.

Stop Cryptic Entry

The Stop Cryptic Entry is a powerful control action that can stop Trigger Entry, Ticketing and Ending commands from being submitted to the Galileo host.
  
Rules can be written that check booking files for specific information, such as forms of payment, account numbers and can stop a ticket from being produced.
 
Select [Stop Cryptic Entry] and three options are made available.
 
    1.    Stop Trigger Entry - use this option to stop the Entry Triggers that are specified on the Details tab from being submitted to Galileo.
    2. Stop all Ticketing (TKP) - use this option to allow booking files to end but to stop all TKP type entries if the rule is matched.
    2.    Stop all Ticketing (TKP) and End (E, ER etc) - this option will stop all TKP and Ending entries from being submitted to Galileo when the rule is matched.

Launch Application

The Launch Application action can run any application (.exe) when a rule has been matched. This is useful when wishing to integrate third party applications into a quality check routine.
 
Select [Launch Application] from the drop down list. Two fields are made available.
 
The first must be configured with the full path to the application to be run. The second field can be used to specify any command line arguments required by the application.
 
To locate the path of the application, click [Browse].
      
The Open dialog is displayed. Use explorer to navigate and select the required applications exe file, double clicking on the file, or selecting the file and clicking [Open].
 
The Open screen closes and the full path displays in the Rule Action section.    

Open Web Page

The Open Web Page action will automatically open Internet Explorer and navigate to a specified URL.
 
Select [Open Web Page] from the drop down list. The URL entry field is displayed, prefilled with http:// - complete the field with the full internet path.

Open Word Document

The Open Word Document action automatically starts Microsoft Word and opens the specified document.
 
Select [Open Word Document] from the drop down list then specify the full path to the required .doc file.
 
To locate the word document, click the [Browse] button.     

The Open dialog is displayed.  The Files of type is set to filter for *.doc files only.
 
Use explorer to navigate to the required document, select the file and click [Open]. Alternatively, double click on the file name once found.
 
The Open screen closes and the full path is entered into the field.    

Open Excel Workbook

The Open Excel Workbook action is able to launch Microsoft Excel and open the specified spreadsheet workbook file.
 
Select [Open Excel Workbook] from the drop down list. In the field provided, enter the full path to the xls file, or click [Browse] to navigate to the file.     
 
The Open dialog displays, filtered to display Excel xls files, using the Files of type.
 
Navigate to the required folder and file, double clicking on the xls file.
 
Once selected, the Open dialog closes and the full path is entered into the action field.    

Open Other File

The Open Other File action uses the Windows file type associations to open the required application for various file types, such as TXT or PDF files.
 
The file to be opened must be correctly associated with an application in Windows File Type associations, failure to do so can produce unexpected results. 
 
Select [Open Other File] from the drop down list and then provide the full path to the file to be opened. To navigate to the file, select [Browse].
       
The Open dialog is displayed. Use explorer to navigate to the required folder and file. Double click the required file, or single click and select [Open].
 
The Open dialog closes and the full path is entered into the appropriate field.    

Invoke Viewpoint Action

The Invoke Viewpoint Action option can be helpful in displaying various Viewpoint screens when a rule is matched.
 
Select [Invoke Vewpoint Action] from the drop down list. The tab changes to show a large drop down list with the various actions available. These are detailed in the table below.

XML Handoff

The XML Handoff action is used to hand off the contents of the current booking file to any third party system that can read from XML files.
 
The XML Handoff action must be configured with the hard drive folder path where the xml files should be saved.
 
Click [Browse].
       
The Browse For Folder screen displays. Use the tree folder view to location and select the folder to save the files.
 
The files are saved in this folder using the following filename format:
 
yyMMddHHmmssf.xml
 
where:
 
yytwo digit yearMMtwo digit monthddtwo digit dateHHhour (24 hour format)mmminutesssecondffraction of a second 
example:
 
0605281356036.xml    

Previous Lesson: Rule Operators Explained Table of Contents Next Lesson: Regular Expression Examples