Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

sysSleep(interval)

Package

system

Alias

Pkg Usage

sleep(interval)

Description

Excerpt
hiddentrue

Causes the current thread executing the SIL script to sleep (suspends system processing) for the specified interval.

Causes the system current thread to sleep (suspends system processing) for the specified interval. Do not use it in the UI processing (like synchronous post-functionsworkflow actions) otherwise users will be forced to wait.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

Interval

interval

Yes

The interval for which the current processing sleeps

Duration of time as interval.

Return Type

None

Examples

Example 1

Code Block
languagejs
sysSleep("1s");

As a result system processing the executing thread is suspended for 1 second.

...

Code Block
languagejs
use "system";
sleep("10s");

As a result system processing the executing thread is suspended for 10 seconds.

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "system_routinefunction" and space = currentSpace ( )
labelsarray_routinesfunctions