Hi,
 you may vote for this one ;)
https://jira.jboss.org/jira/browse/GUVNOR-109

So far I have successfully used 'stateDescription' and 'creator', for sample rules look at this:
https://jira.jboss.org/jira/browse/GUVNOR-108

Haven't tried to select by category - how about 'categorySummary'?

Cheers,
 Jarek

Premkumar Stephen wrote:
Hello everyone,

I am trying to create a custom selector, based on certain properties such as "categories" (primary property) and others such as status and author.

from the examples in selectors.properties, I could not see a way to create using categories. In that file, some of the field described are statusDescription, lastModified, creator, etc I was trying to find the complete list of all fields that could be used to filter the rules.

I dug into the code and came across "categoryReference" in VersionableItem.java. Is this the variable that stores the category? Since a rule can have multiple categories, how does this pan out? Is this a Collection?

Also, where does the string "statusDescription" get tied in to the status of a rule? This one throws me off, since it is a valid field, but I cannot understand how it is being set.

If any of you could share examples where you have done custom selectors either in java or in drl, that would be awesome.

Thanks,
Prem


------------------------------------------------------------------------

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to