Pause Task
Pauses execution at the current step for a specified number of hours, minutes, seconds, milliseconds or until a specific day and/or time has been reached. Usually used to pause execution of a task until a process has completed. If the process completion time is variable, other wait actions such as Wait for File should be considered as they would be more precise.
Declaration
<AMPAUSE ACTION="text (options)" TIME="TimeSerial" DAY="text (options)" />
- or -
<AMPAUSE ACTION="text (options)" SCALAR="number" />
Example 1 - Pause task until tomorrow at 12:00:00 PM.
<AMPAUSE ACTION="waituntil" TIME="%TimeSerial(12,00,00)%" DAY="nextday" />
Example 2 - Pause task for 30 seconds.
<AMPAUSE ACTION="waitfor" SCALAR="30" />
See Also: Wait for File, Wait for Process, Pause Task, Read Timer, Start Timer, Stop Timer
General Tab
Property |
Type |
Required |
Default |
Markup |
Description |
---|---|---|---|---|---|
Wait For |
Text |
No |
Enabled |
ACTION="waitfor" |
If enabled, instructs the system to wait for a specific amount of time. |
Delay to wait for |
Text |
No |
Seconds |
SCALAR="30" |
The amount of time to wait. This parameter is available only if the Wait for parameter is enabled. The available drop-down options are:
|
Wait Until |
Text |
No |
Disabled |
ACTION="waituntil" |
If enabled, instructs the system to wait until the specified date/time. |
Time |
Text |
No |
(Empty) |
TIME="%TimeSerial(17,00,00)%" |
The time to wait until. This parameter is available only if the Wait Until parameter is enabled. |
Day |
Text |
No |
Any Day |
DAY="sameday" |
The day to wait until. This parameter is available only if the Wait Until parameter is enabled. The available drop-down options are:
|
Specific Date |
Date |
No |
(Empty) |
DATE="%DateSerial(2010,07,15)%" |
The specific date that the step will wait until. This parameter is available only if the Day parameter is set to Specific Date. |