I thought that jBPM5 would still process RuleFlow files for backward
compatibility? IIRC, Kris Verlaenen mentioned that on this list a while
ago. Is this no longer the case?
Alan
Mauricio Salatino
Sent by: rules-users-boun...@lists.jboss.org
05/05/2012 11:54
Please respond to
Rules Users L
Thanks. A couple more questions:
1. Can jBPM5 process rule flow (.rf) files?
2. How does the handling of BPMN in jBPM5 compare with Drools Flow 5.1?
There were limitations in Drools Flow 5.1
(http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html_single/index.html#d0e2782).
So to clarify, does Drools 5.2 contain Drools Flow any longer, or has this
been superceded by jBPM 5? If I wish to submit feature requests, bugs
etc., is there a separate issue tracker for jBPM 5?
Thanks,
Alan
Mark Proctor
Sent by: rules-users-boun...@lists.jboss.org
06/04/2011 22:43
Plea
In Drools Flow, in a work item handler, I need to get the node ID (from
the .rf file) for the given WorkItem instance (using JPA state
persistence).
Is there a reliable way to do this? Any help gratefully received.
Thanks,
Alan___
rules-users mailing
We're using stateful knowledge sessions created by
JPAKnowledgeService.newStatefulKnowledgeSession to execute Drools Flow
rule flows, mainly consisting of a sequence of work items.
With 5.1.0.M2, everything works as expected.
However, with 5.1.0 (final release), when the rule flow starts the
f
Paul,
Don't know whether it's relevant or not, but we experienced problems when
the id of a Drools Flow process (i.e. the id attribute in the root node of
the .rf file) contained a hyphen. This seemed to screw up the classes
auto-generated by Drools. We now mandate a naming scheme for process i
Steve,
Many thanks for the information!
Just to let you know, the link on the Drools Downloads page
(http://www.jboss.org/drools/downloads.html) still points to the old
repository.
Regards,
Alan
Steve Ronderos
Sent by: rules-users-boun...@lists.jboss.org
08/06/2010 17:14
Please respond
Drools 5.1.0.M2 still isn't available from the JBoss Maven repository (at
http://repository.jboss.com/maven2/org/drools/). Any idea when it will be
made available?
Thanks,
Alan___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.
Chris, Anatoly, Mauricio,
Thanks for your replies. I had implemented a solution similar to that
suggested by Chris; my work item handlers are defined as Spring beans, so
as long as they are defined with scope="prototype", the knowledge session
can be injected into the handler.
I just wondered i
The subject says it all really: is there any way of determining the
knowledge session ID from the WorkItem argument (or WorkItemManager
argument?) passed in to the executeWorkItem method of an implementation of
the WorkItemHandler interface?
Any help would be very much appreciated.
Thanks,
Alan_
Thanks for the quick response.
Unfortunately I have an arbitrary number of sub flows, so I don't think I
can use a Split and Join. Using the term "sub flow" might be a bit
misleading; what I really have is a work item that can launch an arbitrary
number of independent processes, each with their
I have a simple rule flow of the form: Start -> Work Item -> Wait State ->
Action -> End.
The handler for the work item launches a separate thread, and then
completes. This thread inserts a number of facts into the (stateful)
session's working memory; each fact ('SimpleFact') has a boolean prop
I've just deployed the latest 5.1 snapshot (revision 3724) of the Drools
Eclipse plugin. In the Drools Flow graphical editor, the 'State' and 'For
Each' component types are still not present in the Components palette.
Presumably these will be added prior to the actual 5.1 release?
Also, I've not
I'm currently experimenting with including a Timer node within a rule
flow.
My question is: what (if any) runtime state information is persisted by
Drools Flow for a Timer node? I can recreate a session via a call to
JPAKnowledgeService.loadStatefulKnowledgeSession, but if a process
instance w
ht become true (if it was false
> at
> > > the
> > > > start). Only constant re-evaluation of the code constraint
> > could
> > > > achieve this (which would be tremendously inefficient). Could
> > you
> > > > explain why you would
e a way of setting the value of a process
> > variable
> > > via
> > > the Drools Flow API?
> > >
> > > Thanks in advance for any help,
> > >
> > > Alan
> > > Tessella plc
> > > 26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire,
&
Kris,
After posting my last question, I quickly came to the same conclusion as
you, so I'm now using a rule-based constraint in my EventWait node.
This however has presented a different problem. If I create my session
from JPAKnowledgeService, then when I try to insert my fact into the
session
Can the constraint for an EventWait node in a flow be code-based (rather
than rule-based)? The Eclipse plug-in (v 5.0.1) doesn't allow this to be
specified, unlike say for a Split node, although the relevant XML can of
course be edited.
Trying to load such a process flow results in a NullPointer
Kris,
Thanks for the fast response - the 'return' statement made all the
difference - it's working as expected now.
This was code from a simple unit test, so I wasn't initially checking
errors after loading the process. After adding the code you suggested, the
old process definition (i.e. with
I have a requirement for a simple rule flow containing a "status" process
variable; a work item sets the value of this variable via its Result
Mapping. Following the work item is an XOR Split node, which can go to one
of two following nodes, depending on the value of the status process
variable
Kris,
As far as I can see, JPAWorkItemManager isn't used. When
loadStatefulKnowledgeSession is called in class
JPAKnowledgeServiceProviderImpl, a new instance of
CommandBasedStatefulKnowledgeSession is returned. If you look at the
getWorkItemManager method of this class, it returns an instance
I've been doing some testing recently with the 5.1 snapshot of Drools
(build 3280). The JPA state persistence in Drools Flow appears to be much
more solid (no more NullPointerExceptions) - many thanks for this.
One question I still have though is with the loading of existing sessions
from the da
Paul,
I don't know if the directory structure is significant, but I've attached
a screenshot of how the files are configured within my project - with this
structure, the work items appear in the RuleFlow editor. (I'm using
Eclipse 3.5, but I'm pretty sure this should still work with earlier
ve
You need to make sure that the folder that contains your .conf files is
marked as a Source Folder within Eclipse - hopefully it should then work
OK.
Alan
Tessella plc
26 The Quadrant, Abingdon Science Park, Abingdon, Oxfordshire, OX14 3YS
E: alan.gai...@tessella.com, T: +44 (0)1235 11, F: +4
Mark,
Done: https://jira.jboss.org/jira/browse/JBRULES-2199 - thanks for the
quick response.
Regards,
Alan
Mark Proctor
Sent by:
rules-users-boun...@lists.jboss.org
08/07/2009 13:49
Please respond to
Rules Users List
To
Rules Users List
cc
Subject
Re: [rules-users] Problem with JPA s
I'm currently using Drools Flow with JPA session persistence enabled as
described in section 5.1 of the User Guide.
As a process executes, session information is saved to the H2 database
correctly.
The problem comes if a process only executes part way through, and I then
try to finish the proces
26 matches
Mail list logo