Vitali,
The rule is thus:
BEGIN RETURN
length($Plant) >= 1;
END
In real life, the 'Category' is a Continent, so I have 4 rules, each with a unique a filter thus :
$Continent = 'Asia'
$Continent = 'Europe'
$Continent = 'North America'
$Continent = 'South America'
This works.
However, my next project involves finding the number of errors per distibution warehouse.
There are hundreds of distribution locations.
That means I will need hundreds of rules.
This simply is not reasonable to do.
I will have to build 1 rule, and then query the failed validation repository in order to group by warehouse.
However, then I'm defeating the point of using IS and scorecards ......
We really need a way to 'group' scores within IS.