Hello everyone,<br><br>I am trying to create a custom selector, based on certain properties such as "categories" (primary property) and others such as status and author.<br><br>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<br>
I was trying to find the complete list of all fields that could be used to filter the rules.<br><br>I dug into the code and came across "categoryReference" in VersionableItem.java. Is this the variable that stores the category?<br>
Since a rule can have multiple categories, how does this pan out? Is this a Collection?<br><br>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.<br>
<br>If any of you could share examples where you have done custom selectors either in java or in drl, that would be awesome.<br><br>Thanks,<br>Prem<br>