Hi All,
I am trying to read from a log file and calculating the count for Error , but when i do the calculation in script it gives me an error ie TypeError: Cannot read property "length" from null (#4).
Source Code
var count = Process.fileContents.match(/ERROR/g).length;
Process.errorCount = count;