...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Costello,
Robert
Sent: Tuesday, January 13, 2009 12:34 PM
To: Rules Users List
Subject: RE: [rules-users] How to access data after rule fires
So, ultimately this helped. One other thing I needed to get this
working was a variable
-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Edson Tirelli
Sent: Monday, January 12, 2009 4:16 PM
To: Rules Users List
Subject: Re: [rules-users] How to access data after rule fires
Can't you keep the reference to your object while firing the rules
Of Edson Tirelli
Sent: Monday, January 12, 2009 5:58 PM
To: Rules Users List
Subject: Re: [rules-users] How to access data after rule fires
The action is not being executed. I don't use decision tables
frequently, but I think that it ignores empty cells and is generating an
empty
: Monday, January 12, 2009 6:26 PM
To: Rules Users List
Subject: Re: [rules-users] How to access data after rule fires
If you put an X or something in the cell (i.e. just don't leave it
empty) it should also work.
On Tue, Jan 13, 2009 at 10:57 AM, Edson Tirelli tire...@post.com
wrote
...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Steven
Williams
Sent: Monday, January 12, 2009 6:26 PM
To: Rules Users List
Subject: Re: [rules-users] How to access data after rule fires
If you put an X or something in the cell (i.e. just don't leave it
empty) it should also work
So, how do I access data after the rules fire?
If one has a rule which modifies a field on an object (a boolean, for
example), and you want to return the object after the rules are
complete, how do you do it?
I tried this using a StatefulKnowledgeSession, getting an object
collection after the
Can't you keep the reference to your object while firing the rules?
MyObject x = ...
ksession.insert( x );
ksession.fireAllRules();
boolean result = x.getBooleanAttribute();
[]s
Edson
2009/1/12 Costello, Robert rcos...@searshc.com
So, how do I access data after the rules fire?
If
-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Edson Tirelli
Sent: Monday, January 12, 2009 4:16 PM
To: Rules Users List
Subject: Re: [rules-users] How to access data after rule fires
Can't you keep the reference to your object while firing the rules
-Original Message-
*From:* rules-users-boun...@lists.jboss.org [mailto:
rules-users-boun...@lists.jboss.org] *On Behalf Of *Edson Tirelli
*Sent:* Monday, January 12, 2009 4:16 PM
*To:* Rules Users List
*Subject:* Re: [rules-users] How to access data after rule fires
Can't you keep
] *On Behalf Of *Edson Tirelli
*Sent:* Monday, January 12, 2009 4:16 PM
*To:* Rules Users List
*Subject:* Re: [rules-users] How to access data after rule fires
Can't you keep the reference to your object while firing the rules?
MyObject x = ...
ksession.insert( x );
ksession.fireAllRules
10 matches
Mail list logo