ProcessExecutionLog
Log entry of a single process execution of the process history.
Methods
getCompletionDate
getCompletionDate():
number
Returns the timestamp in milliseconds at which the process execution was terminated.
Returns
numberthe end timestamp of the process execution.
getDuration
getDuration():
number
The time it took the process to finish in milliseconds. If the process is still executing, the duration will be calculated from start to the current date time.
Returns
numberDuration in milliseconds
getExecutionDate
getExecutionDate():
number
Returns the timestamp in milliseconds at which the process execution was started.
Returns
numberthe start timestamp of the process execution.
getExecutionUid
getExecutionUid():
string
Returns
stringThe unique UID of this process history entry.
getLongMessage
getLongMessage():
string
Returns the complete error message as a string, including the full stacktrace, if the execution of the process failed.
Returns
stringthe full error message, or null if no error occurred.
getProcessId
getProcessId():
string
Returns the identifier of the process execution to which this entry belongs.
Returns
stringthe identifier of the process execution.
getProcessName
getProcessName():
string
Returns the name of the executed process.
Returns
stringthe name of the process.
getProcessTitle
getProcessTitle():
string
Returns the title of the executed process.
Returns
stringthe title of the process.
getProcessUser
getProcessUser():
string
Returns the title of the user whose context was used to execute the process.
Returns
stringthe title of the process user.
getServerId()
getServerId():
string
Returns
stringThe ID of the system on which the process was executed.
Deprecated
Deprecated since 2023.1.0. Replaced by getSystemId to reduce the risk of confusion with getServerUID.
getServerUID
getServerUID():
string
Returns
stringThe unique UID of the server that executed the process.
getShortMessage
getShortMessage():
string
Returns a short error message if the execution of the process failed.
Returns
stringa short error message, or null if no error occurred.
getStartedBy
getStartedBy():
string
Returns the title of the user who started the execution of the process.
Returns
stringthe title of the user who started the execution, or null if it was started by the server.
getStartType
getStartType():
string
Returns the start type by which the process was originally started. Possible values are INTERNAL, MANUAL and TIMER. If no start type is provided, NULL is returned.
Returns
stringThe start type by which the process was originally started.
getStatusCode
getStatusCode():
number
Returns the status code of the process execution.
Returns
numberthe status code.
getSystemId
getSystemId():
string
Returns the ID of the system, e.g. 'default', to which the server that executed the process belongs.
Returns
stringThe ID of the system on which the process was executed.