$backgroundProcess.getErrorCount

Returns the ammount of errors running the background process since the last server restart.
Syntax
    $backgroundProcess.getErrorCount
DocumentationReturns the ammount of errors running the background process since the last server restart.

    Paramter:
      name - the name of the background process
    Returns:
      the number of errors
Examples
$backgroundProcess.getErrorCount{myBackgroundProcess}
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1