Interface | Description |
---|---|
ExecutionControlScriptService |
Script API service providing execution self-control methods from within the Groovy script source.
|
ExecutionControlScriptService
, which is bound in groovy under the aliases:
"execution", "exec" or "ex".
Contains methods for:
execution.stayRunning()
can be used to leave the current Task execution running and never be reported as completed,
while method {execution.asyncSleep(millis)
might be used to make the current execution wait for some period of time before proceeding with further work.
execution.stayRunning()
,exec.asyncSleep(3000, {proceedMyWorkAfterSleep()})
,ex.getRuleId()