Skip to main content
Version: 2025.2

ProcessInfos

Information object that represents the current configuration of a process or timer.

Methods​

getAsJson​

getAsJson(): string

Returns the process information as Json.

Returns​

string

Json string


getInterval​

getInterval(): number

Returns the interval between the executions.

Returns​

number

the interval length (in configured interval unit)


getIntervalUnit​

getIntervalUnit(): string

Returns the interval unit.

Returns​

string

the interval unit as string (see INTERVAL_UNIT_*)


getLastExecution​

getLastExecution(): number

Return the last execution time of the process.

Returns​

number

the last execution time as long


getLastExecutionAsDateTime​

getLastExecutionAsDateTime(): string

Returns the last execution time of the process as date time string.

Returns​

string

the last execution time


getLastStatus​

getLastStatus(): string

Returns the status of the latest process execution as display string.

Returns​

string

the status as string


getLastStatusCode​

getLastStatusCode(): number

Returns the status of the latest process execution.

Returns​

number

the status as number


getNextExecution​

getNextExecution(): number

Returns the time of the next Execution of this timer.

This value is only set if the timer is active and performs a periodic task.

Returns​

number

the time of the next execution, or null if this timer has no next execution.


getNextExecutionAsDateTime​

getNextExecutionAsDateTime(): string

Returns the time of the next Execution of this timer as a date string.

This value is only set if the timer is active and performs a periodic task.

Returns​

string

the date of the next execution as string, or null if this timer has no next execution.


getProcessName​

getProcessName(): string

Returns the process name.

Returns​

string

the process name


getThreadPriority​

getThreadPriority(): number

Returns the thread priority.

Returns​

number

the thread priority as int (see process.THREADPRIORITY_*)


getTimerType​

getTimerType(): number

Returns the timer type.

Returns​

number

the timer type as int (see process.TIMERTYPE_*)


getTimezone​

getTimezone(): string

Returns the Timezone under whom the process is executed.

Returns​

string

the Timezone


getUser​

getUser(): string

Returns the title of the user under whom the process is executed.

Returns​

string

the title of the user, may be null if the execution is anonymous


isActive​

isActive(): boolean

Returns of the timer for the process is still active.

Returns​

boolean

true if the timer is still active


isRunning​

isRunning(): boolean

Returns if the process is currently running.

Returns​

boolean

true if the process is currently running


shouldKeepJDito​

shouldKeepJDito(): boolean

Returns if the JDito instance is to be reused.

Returns​

boolean

true if the JDito instance is to be reused