$backgroundProcess.getExecutionCount

Returns how often the background process has been executed so far.
Syntax
    $backgroundProcess.getExecutionCount{background_process_name}
DocumentationReturns how often the background process has been executed so far.
Both successful and erroneous executions are counted.
    Paramter:
      1: The background process name.
    Returns:
      Integer.
    Throws:
      IllegalArgumentException - If the named background process does not exist.
Examples
The process was executed $backgroundProcess.getExecutionCount{myProcess} times.
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1