The Wait activity pauses the process for the time you specify. You can either wait until:
a specific date
a given day of the month
a given day of the week
a period of time after this activity is encountered
This activity calls the PL/SQL procedure named WF_STANDARD.WAIT.
Note: You must run a background engine for deferred activities to determine when the wait time has passed. The background engine then completes the Wait activity so that the process can continue. See: Setting Up Background Engines.
The Wait activity has six activity attributes:
Wait Mode - use this attribute to specify how to calculate the wait. You can choose one of the following wait modes:
Absolute Date - to pause the activity until the date specified in the Absolute Date activity attribute is reached.
Relative Time - to pause the activity until the number of days specified in the Relative Time activity attribute passes.
Day of Month - to pause the activity until a specified day of the month, as indicated in the Day of Month activity attribute.
Day of Week - to pause the activity until a specified day of the week, as indicated in the Day of Week activity attribute.
Absolute Date - If Wait Mode is set to Absolute Date, enter an absolute date.
Relative Time - If Wait Mode is set to Relative Time, enter a relative time expressed in <days>.<fraction of days>. For example, enter 0.5 for a wait time of half a day (12 hours).
Day of Month - If Wait Mode is set to Day of Month, choose a day of the month from the list. If the day you choose has already arrived in the current month, then the activity waits until that day in the following month.
Day of Week - If Wait Mode is set to Day of Week, choose a day of the week from the list. If the day you choose has already arrived in the current week, then the activity waits until that day in the following week.
Time of Day - The Wait activity always pauses until midnight of the day specified, unless you use this Time of Day activity attribute to specify a time other than midnight that the Wait activity should pause until.
Note: For the Day of Month and Day of Week wait modes, if a process transitions to a Wait activity during the specified day in the current month or week, the Wait activity pauses until that day in the following month or week, because the beginning of the day has already passed. To pause the activity until the end of a particular day, use the Absolute Date wait mode and set the Absolute Date attribute to the time 00:00:00 on the next day. For example, if you want to pause until the end of the last day of a month, set the Absolute Date attribute to the time 00:00:00 on the first day of the next month.