Siax
13 years agoContributor
Log.ErrCount & Log.WrnCount
I would like to know if there is a way to determine how many errors there are in the whole running project at the top level as opposed to individual scripts.
My current understanding is, the Log.ErrCount | Log.WarnCount refers to the current script in action.
Scenario. (see attached Image of test log)
In my email script, I wanted to use Log.ErrCount & Log.WarnCount to make a decision. But due to the fact the Log. is localised it doesn't see the scripts above have Warnings in them and validates when it's not meant to.
I have get round this issue by creating a variable and checking in each script but this doesn't feel scalable in the longer term.
Anyone got a better solution?
My current understanding is, the Log.ErrCount | Log.WarnCount refers to the current script in action.
Scenario. (see attached Image of test log)
In my email script, I wanted to use Log.ErrCount & Log.WarnCount to make a decision. But due to the fact the Log. is localised it doesn't see the scripts above have Warnings in them and validates when it's not meant to.
I have get round this issue by creating a variable and checking in each script but this doesn't feel scalable in the longer term.
Anyone got a better solution?