With the new KnowledgeAgent API, you can not only connect to Guvnor
server remotely to store and retrieve rules, but also to add or update
rules. It also has basic authentication supported. Take a look at the
unit test:
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/s
Need to host all the flows ( process definitions ) in Guvnor as pre-built
knowledge packages.
I heard that it works out of the box, but other people say it is a "desired"
functionality, and it does not really yet implemented to work.
So what is it in reality? I guess this is a question more to
it creates the error when the process is started.i.e when it trie to
create the SessionInfo record
-
Keep Working >>
KiranP
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-5-1-Persistence-without-JTA-tp828933p831029.html
Sent from the Drools -
@KiranP,
Can't paste the whole thing: client work.
As to your error, at which point do you get it? When the framework
tries to create a SessionInfo record? Or you process goes to the wait state,
and the framework is unable to commit ( JPA Persistence )? Or your DAO
within a work item h
initially thanks for ur replies.
i downloaded the sample given Pablo Nussembaum but having problem
drools-spring dependency saying missing artifact...tried manually browsing
also but no good cant find it.
to tolitius,
thanks for that code snippet.what i tried was the same just i didn
*I paste all information here :
HelloWorldSample.rf * :
http://drools.org/drools-5.0/process";
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
xs:schemaLocation="http://drools.org/drools-5.0/processdrools-processes-5.0.xsd";
type="RuleFlow" name="flow" id="com.samp
Yes and no . Guvnor uses a JCR repository (the default is
http://jackrabbit.apache.org/) which can not be accessed using hibernate
directly. We ran into this issue, and the only way to use guvnor as of 6 months
ago was to have a user go into guvnor and create a DRL file by clicking a few
button
Hi,
I am very new to Drools and very very new to Guvnor.
I am in the process of creating a rule engine which will fetch the data from
a source (I am using Hibernate framework to fetch the data) and evaluate the
data using Drools rule engine. The rules supplied to the Drools rule engine
are store
This issue seems to be remedied by placing each flow in its own package. I
still don't know if this is a bug or a feature.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Wrong-flow-script-task-executes-when-multiple-flows-are-loaded-tp826751p830193.html
Sent
Similar to calling a subprocess dynamically:
processId="com.sample.#{var}
Can Timer Values such as "timeDate" and "timeCycle" can be configured at
runtime?
Thank you,
/Anatoly
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/BPMN2-Timers
Per BPMN2 specification:
"The timer has a specific time-date or a specific cycle (e.g.,
every Monday at 9am) that can be set, so if the cycle is every day at 9
a.m."
BPMN2 was a recommended way to go, since DRF is going to become
obsolete soon.
Is this timer featu
We usually have some sort of task lists for different users associated with
different tasks.
We don't usually rely on the Node Instance to interact with the processes.
that's my two cents
On Wed, May 19, 2010 at 3:37 PM, dgimenes wrote:
>
> salaboy,
>
> I'm need to do a web page that shows the f
salaboy,
I'm need to do a web page that shows the flow and allows a "superuser" to
start/stop the flow, as well as skip and interact with the active nodes.
This need to be available for each flow instantiated.
So what I managed (with help) to list all flows instantiated as well as it's
nodes wai
yea, for the process ( flow ) it seems to work fine using a regular
"org.springframework.orm.jpa.JpaTransactionManager":
Hi Ian,
I tried using Enums with Guvnor twice: once back in the 4.0 times of
Drools, once again when we got the 5.0 update.
My experience: Java enums and Guvnor simply don't work together. Stick
with writing DRL rule files in a text editor, or even better, using the
Eclipse plugin. This way,
I've run into a problem with the 5.0 version of drools and it's interaction
with the Glassfish app server. When the drools engine is initializing it
looks for the drools.rulebase.conf file in the user.home directory. In my
company's app server environments, the applications are not allowed to writ
Hi All,
I've recently started using Drools and Guvnor, and so far really like
it!
I have one problem however, to do with Java enums in Guvnor.
I have a simple enum as follows:
public enum STPRuleAction
{
UNKNOWN, ACCEPT, REJECT
}
I can hand write a rule that works fine with this enum as
I was working in KnowledgeAgent incremental change-set processing. Right
now, the agent only adds to the kbase those rules that were modified. The
bad news are that in order to know if a rule was modified or not, the agent
must compile the resource.
Here you can find more info:
http://ilesteban.wo
Hi all,
I'm working on an application that has to maintain a knowledge base that'll
change (a lot) over time; meaning some rules might change, others will be
added and, finally, some will be deleted from the KB. Our tests show the
following un-expected (imho *) behaviors:
- Whenever the conten
On 19/05/2010 16:13, Pablo Nussembaum wrote:
> Hi Kiram,
> We are currently working, through the spring integration, on adding
> support for using processes without JTA. The only pending feature is the
> automatic rollback handling that JTA provides, that means that you
> *MUST* reload the session
Hi Kiram,
We are currently working, through the spring integration, on adding
support for using processes without JTA. The only pending feature is the
automatic rollback handling that JTA provides, that means that you
*MUST* reload the session instance after a rollback.
Here you have an example ap
Hey Daniel,
My suggestion was that a single default rule could be fired to indicate
that the prescription was invalid if all the matching rules failed to
create a valid match.
Example:
- Match Rule 1, Salience 50, Activation-group "Match Rules"
- Match Rule 2, Salience 50, Activation-group "Mat
Thank you for the response djb.
Doing what you say, i will collect ALL instances of products with id
'A','B','C', instead i need a tuple of exactly one 'A', one 'B' and one 'C'.
In my scenario, products may occur multiple times (that i forgot to say, my
fault...).
I investigated a bit and posted a
You can't do any sort of constructor calls in the condition section.
i'm not sure if you're asking what goes in the spot, but,
$list: ArrayList() from collect(Product(id == @{id}, ...conditions...))
perhaps?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble
Looking at:
http://mvel.codehaus.org/Inline+List,+Maps+and+Arrays
I see MVEL supports inline of lists, but unfortunately, this syntax seems
not to be supported by 'from' construct.
>From drools expert documentation @ 4.8.2.8 Conditional Element from i read:
"The expression used to define the obje
basically you are including a jar file that contains a orm.xml file that
contains a lot of named queries and also a persistence.xml file that defines
org.drools.task. That is causing you problems.
2010/5/19 Pedro Maria Buitrago Mantilla
>
> Greatings,
>
> Features:
>
> 1. jboss 4.2.1
> 2. jvm jd
Greatings,
Features:
1. jboss 4.2.1
2. jvm jdk1.5.0_13
3. drools 5.0.1
I deployed a EAR application over jboss, this application uses drools
support for work flow activities, without particular persistence definitions
, but I have the next error:
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLE
Hi John, Wolfgang,
Thanks for your suggestions. Though I didn't use either of your suggestions
as described, it helped me work it out. I added tokens describing the
prescriptions, then as they are matched (using RETE), the tokens are
retracted. Then any tokens left over are invalid. It is prob
I dont want to use the JTA transactions for process
can this be done if yes please point me towards it
thanks
-
Keep Working >>
KiranP
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-5-1-Persistence-without-JTA-tp828933p828933.html
Sent from the
A good start could be to give us more info, like your rules, your flow and
how are you executing them. ;)
Best,
On Wed, May 19, 2010 at 6:39 AM, HONG DENG wrote:
> hi , i am a drools flow newbie.I want to using "assignment rule"
> assign a actor to a HumanTask. I have write a dsl and dslr file
Hi!
I've detected some problems in my rules regarding event expiration but I can't
understand why. Maybe someone with more experience could help me out.
I think the example is quite simple: the application receives transactions. The
lack of transactions for an hour should raise an alarm.
I would like to generate a template that can output rules, as explained in
Drools expert user guide at chapter 5.2 (
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-expert/html_single/index.html#d0e6212
).
My parameters are 2 lists of strings. In some case the list is to be
outputte
Dear Thomas,
Sorry, I forgot to mention that 5 MB is the 'initial' size. There are just
the rules and some data inside the session. From this starting point on the
session doesn't become dramatically bigger.
Yes, I'm retracting the most of the facts at points where I'm certain that
these facts
The first question is what are you storing in your knowledge session and in
particularly are you retracting facts when they are no longer relevant or are
you accumulating duplicate values?
Is you knowledge session growing over time is it the memory usage of it staying
level?
I've not done it pe
Dear Drools' developers and users,
I have a problem regarding the size of my Drools' StatefulKnowledgeSession.
As I'm working with a 'stateful' session that lives on a web server I have
bound this session onto my web session. That means the Drools' session is
able to access some facts from prece
hi , i am a drools flow newbie.I want to using "assignment rule"
assign a actor to a HumanTask. I have write a dsl and dslr files and
following code :
kbuilder.add(ResourceFactory.newClassPathResource("HelloWorldSample.rf"),
ResourceType.DRF);
kbuilder.add(ResourceFactory.newClassPathResour
Hello Wolfgang,
sorry, I wasn't available yesterday.
I just followed your instructions:
Here's my test method now :
@SuppressWarnings("unchecked")
@Test
public void testActivity() throws IOException, ParseException,
InterruptedException {
// parse the log file
See attached project, DroolsBilling.
You can build it with Maven from the project directory: mvn clean package
To run it after building: java -jar target/DroolsBilling-1.0.jar
$ java -server -jar target/DroolsBilling-1.0.jar 100 10Rules load time:
3482msRules execution time: 732ms, per num
38 matches
Mail list logo