Condition elements follow and further qualify an Event element, essentially adding an “if” statement to it. The options that appear for the condition vary according to the event.

Element

Use

Event’s

Uses properties of the associated ATG event to qualify the scenario Event element. See Using Event Elements in Scenarios for more information.

Note that the Event’s condition contains a Site option. This option exists for environments that support more than one Web site. It allows you to qualify the event by site. See the description of the Visits event for an example.

Variable

Qualifies the event using a variable that you defined earlier in this segment. (You use Set Variable Action elements to define variables. See Using Action Elements in Scenarios for more information.)

Request’s

Qualifies the event using the contents or characteristics of the HTTP request issued to the ATG system by the visitor’s Web browser.

Browser’s

Qualifies the event according to a characteristic or setting of the site visitor’s Web browser. Example:

Browser's supports cookies is true

Locale’s

Adds a locale-related qualification to the event.

Locale-related elements are relevant if you are working on a Web site that displays content in different languages depending on the language setting in a visitor’s browser. For more information about localization and internationalization, refer to the Platform Programming Guide.

Today’s

Uses a specific date or time to qualify the event. Example:

Today's dateAsDate is after Dec 1, 2001, 12:00 AM

For more information, refer to the next section, Using the Today’s Condition.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices