Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | sysSleep(interval) | Package | system | Alias | | Pkg Usage | sleep(interval) |
|
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
Interval | interval | Yes | The interval for which the current processing sleepsDuration of time as interval. |
|
Return Type
None
Examples
Example 1
Code Block |
---|
|
sysSleep("1s"); |
As a result system processing the executing thread is suspended for 1 second.
...
Code Block |
---|
|
use "system";
sleep("10s"); |
As a result system processing the executing thread is suspended for 10 seconds.
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "system_routinefunction" and space = currentSpace ( ) |
---|
labels | array_routinesfunctions |
---|
|