Hi,
Thanks for the reply. I understand that.
However the below line is going to fire rules in all the packages.
kagent.applyChangeSet(ResourceFactory.newClassPathResource("guvnor-tomcat-single-changeset.xml"));
Is there a possibility to specify the package to fire rules.
For instance,
Java
I have 2 packages in Guvnor UI having different set of rule assets in it.
pkg1 -> UI rules
pkg2 -> Business rules
In the java application code base, is it mandatory to have 2 change set xmls
with different package contents?
[Java] // for UI rules
kagent.applyChangeSet(ResourceFactory.newClassPat
I am new to drools and even more new to Guvnor.
I have a below code with simple rules (just 2) which doesn't work as
expected, any help would be greatly appreciated.
I attempted to copy the contents of guvnor generated drl file to a local drl
file and tested with drools expert, it works well.
F
I was just wondering if there is a pattern matcher available in drools.
Below is a sample
rule "Action Movies"
dialect "java"
when
ui : UserInfo(likes contains "Action")
then
List sw = new ArrayList();
sw.add("Die Hard");
sw.a
Thank you guys! it worked for me.
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Iterating-string-objects-inside-Arraylist-tp4024954p4025028.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___