This section explains the choices available for the Today’s condition element in the scenario editor. The choices correspond to the properties of the CurrentDate Nucleus component (/atg/dynamo/service/CurrentDate). The Scenarios module uses the property values of this component to calculate whether to apply the condition to a given scenario. You can view this component and its current values if you have access to the Pages and Components area of the ATG Control Center. For information about viewing components, refer to the ATG Control Center online help.

The properties that are most useful for business managers to specify within the Today’s condition are described below.

Property

Description

Example

date

An integer that represents the day of the month (1 to 31)

Today's date is 4

dateAsDate

An integer that represents the date as a month, day, year, and time. This option is a good choice if you want to use a specific date to trigger the scenario element. The system time in this case is always considered to be 12:00:00 AM, and the scenario editor ignores any time you specify in the element. For example, if you include the following value in the scenario:

Today's dateAsDate is Jan 10, 2004, 9:00 AM

the scenario editor translates the value to the following:

Jan 10, 2004, 00:00:00 AM EST

and triggers the condition element when the system’s dateAsDate is Jan 10, 2004, 12:00:00 AM EST.

Today's dateAsDate is Oct 4, 2003, 12:00:00 AM EST

dayOfWeek

An integer that represents the day of the week (1 to 7, with 1 representing Sunday by default)

Today's dayOfWeek is 5

dayOfWeekInMonth

An integer that represents the occurrence of the day of the week in the month (1 to 5). For example, to specify the first occurrence of any weekday in the month, enter 1.

Today's dayOfWeekInMonth is 1

dayOfWeekName

The full name of the day of the week

Today's dayOfWeekName is Thursday

hour

An integer that represents the hour of the day (0 to 23, with 23 representing 11 PM)

Today's hour is 16

minute

An integer that represents the minute of the hour (0 to 59)

Today's minute is 30

month

An integer that represents the month of the year (1 to 12)

Today's month is 10

monthName

The full name of the current month

Today's monthName is October

second

An integer that represents the second of the minute (0 to 59)

Today's second is 15

shortDayOfWeekName

The abbreviated name of the day of the week (Sun, Mon, Tue, Wed, Thu, Fri, Sat)

Today's shortDayOfWeekName is Thu

shortMonthName

The abbreviated name of the month (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec)

Today's shortMonthName is Oct

weekOfMonth

An integer that represents the week of the month (1 to 5)

Today's weekOfMonth 1

year

The current year

Today's year is 2004


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