[rules-users] 6.0.1.F Need help in getting recanned rules into new session

Joe White Joe.White at recondotech.com
Wed Mar 26 18:28:33 EDT 2014


I haven't tried ranges myself. I know for sure SNAPSHOTS work. I think you may need a bracket at the end of your range definitions. Like:

releaseId = kieServices.newReleaseId("com.xyz.policy","cep", "[1.0-10.0]");

-----Original Message-----
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of SrjTx
Sent: Wednesday, March 26, 2014 3:47 PM
To: rules-users at lists.jboss.org
Subject: Re: [rules-users] 6.0.1.F Need help in getting recanned rules into new session

Could you please give me an example of the ranges?

I tried the following based on a couple google searches, but they result in NullPointerExceptions.

                releaseId = kieServices.newReleaseId("com.xyz.policy",
"cep", 
                                "[1.0,"); 
                releaseId = kieServices.newReleaseId("com.xyz.policy",
"cep", 
                                "[1.0-10.0"); 



--
View this message in context: http://drools.46999.n3.nabble.com/6-0-1-F-Need-help-in-getting-recanned-rules-into-new-session-tp4028975p4028981.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list