Common > Business Rules Management > Adding rules > Choosing conditions > Relative time conditions

Relative time conditions

Several rule conditions allow you to select a date and time. For example, you might want to add a rule with the condition “If the task due date is within the range from April 1 to April 30.” The following conditions allow date/time selection.

The ability to set a condition based on a specific date and time (whether that date/time value is before, after, equal to, or within a range you specify) is a useful tool. However, there may be times when you want to set a relative date/time value. Relative time calculates the number of minutes or hours from the current time or from a specific event, such as time created or time updated.

The following procedure shows you how to set a relative time condition using a task’s due date, but the procedure is the same for setting other relative time conditions.

To select the relative time condition using a task’s due date:
1
2
Click the Add Condition Based On button and select Tasks>Due Date. In this example, assume you want to send a reminder email to staff members who have tasks due within the next 8 hours.
3
4
5
a
b
c
d

“Now” is the default value in the Event field and, since you want the condition to be based on 8 hours from now, you do not have to change this field. For dif­ferent conditions, you can select different events, such as time created or updated.

6
7

Copyright © 2000, , Oracle Corporation and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.