<[EMAIL PROTECTED]>
To:
Sent: Tuesday, March 11, 2008 8:30 AM
Subject: Re: [rules-users] How do you use Ruleflows with StatelessSession's?
Hi
I am using StatelessSession code in Java file and my rules are in drl
file.
Which drools variable are you talking about? How can I use it
Hi
I am using StatelessSession code in Java file and my rules are in drl file.
Which drools variable are you talking about? How can I use it in java file
to set focus?
Mark Proctor wrote:
>
>
> The drools variable is available and you can get the working memory from
> that.
>> Do we have a s
Mehak wrote:
Hi
Similarly can we set the focus on a particular agenda in stateless session.
Like for statefull session, to fire the rules belonging to a given agenda,
the code is :
workingMemory.setFocus("agenda group name");
The drools variable is available and you can get the working memo
Hi
Similarly can we set the focus on a particular agenda in stateless session.
Like for statefull session, to fire the rules belonging to a given agenda,
the code is :
workingMemory.setFocus("agenda group name");
Do we have a similar method in stateless session as well?
--
View this message i
I'm not sure, will have to think on it the api is stateless and uses a
single execute method, I'm not sure where the startProcess fits into that.
Mark
Shahad Ahmed wrote:
Mark,
Thanks for the reply. Are there any plans to make this functionality
available directly via the API, rather than
Mark,
Thanks for the reply. Are there any plans to make this functionality
available directly via the API, rather than having to add a "dummy" rule
into a rulebase in order to get workflow to work with stateless sessions?
I can see how to make the change myself to ReteooStatelessSession by
addin
you would have to call drools.getWorkingMemory().startProcess(id) from
inside of a consequence.
Mark
Shahad Ahmed wrote:
Does anyone know if it's possible to use a ruleflow with a
StatelessSession?
The current documentation and API seem to show examples with
StatefullSessions i.e.:
statefu
Does anyone know if it's possible to use a ruleflow with a StatelessSession?
The current documentation and API seem to show examples with
StatefullSessions i.e.:
statefullSession.startProcess(id);
statefullSession.fireAllRules();
etc...
However, there doesn't seem to be anything equivalent in t