Create New Rule

This section provides information on how to create new rules.

If not already running, start the PNR Watcher Administration program. Select [Start] [All Programs] [Navitas Solutions] [PNR Watcher]. The above screen appears. Select [Maintain Rules].

The screen displays a list of current rules.

Actions Tab

1.    Click [Create] on the PNR Watcher Maintain Rules screen. The above screen appears:

Data must be entered into each section of the screen and both tabs before a rule can be saved.

Booking File Fields

The Booking File Fields screen details the sections of the booking file that can be selected for searching.

Click the [+] next to BookingFileSearchOptions to display the headings for the search criteria.

Use the [+] and [-] buttons to expand and contract the Booking File Search Option headings to display the possible search criteria. For example to perform a rule on the air vendor stored in the booking file, expand BookingFileSearchOptions, Segments, Air and select AirVendor

Once the Booking File Field is selected, move to the Booking File Search Options - Criteria section.

Booking File Search Options - Criteria

The XXX Criteria section (where XXX is replaced with the Booking File Field selected in the above section) is the area where the search criteria operator and value are added. In this example it becomes AirVendor - Criteria:

Click the down arrow on the Select Criteria field to display as list of possible operators. Select the operator to apply to the Booking File Field.

Refer to the Rule Operators Explained section for further details.

If the operator requires a constant the text box becomes active as shown above. Add the value that the PNR Watcher should match against and click [Add].

The completed rule is added to the Rule Condition area of the screen.

To add further criteria to the rule click the [And] or [Or] logic buttons. This allows the previous steps to be repeated again, so a full rule expression can be built.

Rule Condition Screen

This section displays the completed rule as it is built.
It gives the ability to use grouping to clarify the rule expression. Additionally the rule can be edited on this screen.
The screen above shows the Rule Condition screen with an example Air Vendor and Flight Number rule:

Grouping / UnGrouping Logic

Grouping logic statements together allows fine turning of rules where multiple fields are being validated against. Normally, the logic of a rule would be evaluated from left to right, however grouping logic can have a dramatic effect on the rule outcome.
In the screen shot example, the rule checks the booking file for a flight by BA or flights that leave from London Heathrow. The rule must also check if there is only one passenger in the booking file and that a DI.AC field exists.
If the booking file did have BA and was leaving from London, but had two passengers and a DI.AC, without grouping, the rule would ultimately end up being False.

Rules Action Screen

Once the Rule Condition is complete the Rule Action must be assigned. Each rule can have a maximum of three different actions, but requires a minimum of one. The blank Rule-Action screen is shown below:

To add an action select the down arrow on the Select Action field. The above drop down list is displayed.

Select the required action from the list. The action arguments field now becomes active.

Display Alert

If Display Alert is selected, the text of the alert can be entered into the action arguments field as shown above.

Open Word/Excel doc or Webpage

If Open Word/Excel doc or Web Page is selected, the relevant filename or URL is entered into the action arguments field as shown above.

The document referenced in the Action Arguments field must be accessible from the agent desktop machines. The document opened should be stored on a network drive and the same path entered as would be used at an agents desktop machine to access the file.

To add further Rule Actions, click [Action 2] or [Action 3] tabs. Once all is completed click on the [Details] tab.

Details Tab

On clicking the [Details] tab the above screen appears.

Enter a name for the rule in the Rule-Name field, and a description of the rule in the Description field. These are displayed on the Maintain Rules screen and help to distinguish one rule from another for editing/deletion purposes.
*IMPORTANT; the special characters < & > " ' should NOT be used in the rule name as this can cause errors.

The Departments section lists all available departments. No department is selected as default. One must be selected from the list (even if the list contains just one department). Multiple departments can be selected from the list by holding the Ctrl key while selecting the department names.

The Priority section sets the Priority level for the rule. There are three levels as described:
1 = High (Alerts and Actions are displayed in Red)
2 = Medium (Alerts and Actions are displayed in Blue)
3 = Low (Alerts and Actions are displayed in Black)
Use the up and down arrow buttons to set the level.

The Entry Triggers section allows you to specify on which entries the rules will trigger.

Then select [Save].

Previous Lesson: Users Table of Contents Next Lesson: Expert Mode