SLEEP
The SLEEP function suspends the execution of the current map until the time-out interval elapses. The time-out or sleep interval is represented in milliseconds. On successful execution of this function: 0 is returned; on failure: -1 is returned.
- Syntax:
- resourcelib->SLEEP(single-number-expression)
- Meaning:
- SLEEP (the sleep time is in milliseconds)
- Returns:
- A single number
This action causes the workflow to pause execution of the current map for 5 seconds.
resourcelib->SLEEP ("5000")