[rules-users] packageBuilder.getPackage() returns null

Raja Sekhar raja.amirapu at gmail.com
Mon Feb 17 06:48:09 EST 2014


The rules are fired. How would i get the results back which are sent back
using the insertlogical statement in rule consequences clause.
I tried with with iterateobjects and facthandles, the passed parameters are
printed
 Using StatefulSession

Regards,
Raj


On 17 February 2014 16:11, Raja Sekhar <raja.amirapu at gmail.com> wrote:

> Yeah found i found out the issue. Thanks
>
>
> On 17 February 2014 16:01, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:
>
>> The builder, if asked nicely, will tell you whether there are
>> any errors in the DRL code. For 5.x it is:
>>
>> KnowledgeBuilder kBuilder = ...
>> ... feed builder
>> if( kBuilder.hasErrors() ){
>>     KnowledgeBuilderErrors errors = kBuilder.getErrors();
>>     for( KnowledgeBuilderError err: errors ){
>>         System.err.println( err.toString() );
>>     }
>> }
>>
>> -W
>>
>> On 17/02/2014, Raja Sekhar <raja.amirapu at gmail.com> wrote:
>> > Hi
>> > i am trying to use drools template
>> > String drl = resultSetGenerator.compile(resultSet, new
>> FileInputStream(new
>> > File("D:\\Raj\\dymanic.drt")));
>> > complied drl as above
>> > when i try add the pakage packageBuilder.getPackage()  it return null
>> > i am using the 5.6.0.Final version of drools
>> >
>> > Regards,
>> > Raja Sekhar Amirapu
>> > ------------------------------------------------------
>> > "If any anyone can do it, i can do it. If no one else can do it, i must
>> do
>> > it"
>> >
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
> --
> Raja Sekhar Amirapu
> ------------------------------------------------------
> "If any anyone can do it, i can do it. If no one else can do it, i must do
> it"
>



-- 
Raja Sekhar Amirapu
------------------------------------------------------
"If any anyone can do it, i can do it. If no one else can do it, i must do
it"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140217/407d1e73/attachment.html 


More information about the rules-users mailing list