Steps to reproduce:
Have Web Scenario, which generates several items. Those cannot be edited directly, but can be referenced in Triggers and newly created items - just fine.
One of them is: web.test.error[Get-Status], which contains text string of last error.
Error text string is similar to: "Could not resolve host: Could not resolve host: '127.0.0.1/TestValue=84'."
Then I create item:
type: Calculated Item
value type: Numeric or float
tried both, this:
and even this:
I have tried both:
Item not supported.
Cannot evaluate expression: expected numeric token at "Could not resolve host: Could not resolve host: '127.0.0.1/TestValue=84'.".
Expected that this calculated item would strip-out numeric value from another item, a have it stored as numeric item.
Could anyone explain me, WHY there are pre-processing options like "regexp" and "trim" in "calculated item" type, if those simply do not work?
As the value of "last("web.test.error[...]") is evaluated against Numeric data type - BEFORE Pre-Processing is performed?
What the point of pre-processing then?
If it doesn't work before that numeric data type evaluation.