$backgroundProcess.getUserName

Returns the user name under which the background process was created and will be executing.
Syntax
    $backgroundProcess.getUserName{background_process_name}
Documentation$backgroundProcess.getUserName:
Returns the user name under which the background process will be executing. This is the user name as which the background process was created.
    Paramter:
      1 - background process name
    Returns:
      User name.
    Throws:
      IllegalArgumentException if the background process doesn't exist.
Examples
$if{$backgroundProcess.inExecution{$getCurrent{bpname}{}}}{ $/* recursive template, now in backgroundprocess execution $*/ $if{$equals{0}{$random{0}{1}}}{$throw{java.lang.RuntimeException}{just testing...don't panic!}} } { $set{name}{xray_$time.getUnique{}} $backgroundProcess.create{$get{name}}{1}{$getCurrent{t}}{bpname=$get{name}&testparam1=hello&testparam2=you} $commit{NONE} $sleep{5000} $begin{UPDATE} Backgroundprocess properties:
Name: $get{name}
Exists: $if{$backgroundProcess.exists{$get{name}}}{Yes}{No}
Delay: $backgroundProcess.getDelay{$get{name}}
Error count: $backgroundProcess.getErrorCount{$get{name}}
Execution count: $backgroundProcess.getExecutionCount{$get{name}}
Last end: $backgroundProcess.getLastEndTime{$get{name}}
Last error: $backgroundProcess.getLastError{$get{name}}
Last start: $backgroundProcess.getLastStartTime{$get{name}}
Parameters: $getHTMLViewable{$backgroundProcess.getParameters{$get{name}}}
Template: $backgroundProcess.getTemplate{$get{name}}
Created by: $backgroundProcess.getUserName{$get{name}}
$backgroundProcess.remove{$get{name}} }
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1