It looks like the session is loaded fine but this occurs when i resume the
flow and complete a work item or send an event on flow.
Any ideas please??
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Exception-while-loading-session-from-JPA-store-tp2130657p213
Hi,
I've got a drools application running with EJB3 and JBoss 5.1. It works fine
but most of the times it throws exception while trying to load drools
session from JPA. My flow has got user tasks so it stops at places and get
stored in db using JPA. Then I try to load it by providing the session
Figured it out it was an easy one, it needs in/out parameter mapping.
Thanks
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-flow-variables-don-t-get-passed-to-sub-process-tp1609297p1609409.html
Sent from the Drools - User mailing list archive at Nabb
Finally I've fixed the problem
Exception in thread "main" java.lang.NoSuchMethodError:
org.drools.runtime.StatefulKnowledgeSession.execute(Lorg/drools/command/Command;)Lorg/drools/runtime/ExecutionResults;
It was caused because I was compiling my code against drools version 5.1.0
and was runni
Hi,
I've a drools flow which has sub flow node in it. I've create a drools flow
variable both in main flow and sub flow with the same name. Then I use that
variable to set Parameter Mappings of a work item with in my main flow and
in sub flow. The work items in main flow get it fine and works per
Hi,
I am writing a drools flow which is backed up by JPA. It get stored into db
and then reloaded etc. I've some user task nodes on which flow stops and
gets stored in db. Then i reload it from db and resume flow etc. When i
start my flow I supply it with flow parameter map. It starts with those
hi, has anyone successfully raised even on a persisted drools flow or is it a
bug?
Thanks
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1595165.html
Sent from the Drools - User mailing list archive at Nabble.com.
__
Yes I did some debugging and I read the bytes against that Process in
database and it is all fine and process is stopped at the AND node and
waiting for signal to come. Also I looked in drools source and found below
in class
org/drools/process/instance/impl/ProcessInstanceImpl.java
public P
Thanks mate
It throws NullPointerException. Here is what I do. I start process and it
stops at an AND node waiting for event to complete. The process is backed
up by JPA and is stored in db. Then I modify my test class and instead of
creating session i load existing session. For example when i r
Any idea anyone please?
Thanks
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1572504.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users m
Hi Kris,
Thanks for your reply. A little background, I start drools flow process by
creating a new session using JPA service and I've an AND node which has two
incoming connections one from a RuleGroup node and another from an event
node so it stops and waits until the event is signaled. Then I g
Thanks for your reply. I am not using for each element. I am just using AND
node with a message event and another node coming to it so process stops
there and wait for the signal. Then I signal event as I mentioned in my
posts above but get into problems as I've mentioned in my previous posts.
Ho
Any idea anyone? No one knows how to raise an event on session/flow?
Thanks
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1478568.html
Sent from the Drools - User mailing list archive at Nabble.com.
Done some more debugging and It looks like the ProcessInstance is failing
while trying to get process. Here is what I found from the drools 5.1 source
code:
org/drools/process/instance/impl/ProcessInstanceImpl.java
public Process getProcess() {
if (this.process == null) {
Hi,
I am using drools flow 5.1.1 with JPA. I want my flow to stop at a certain
point so I use an AND node with one incoming RuleGroup node and one incoming
Event node. so as AND guarantees that It executes after both of the nodes
are completed. So my flow stops there. Then i load the session from
Thanks for your answer I've tried that but no luck. It just runs
NotDisplaycomments rule.
Any more ideas?
Thanks
PS: I am starting my flow from an EJB (local) if that helps.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Session-objects-tp1400
I've moved RuleGroup mode in between my two User Task Nodes and it works but
if I place it at start, it doesn't work :(
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Session-objects-tp1400891p1411388.html
Sent from the Drools - User mailing list
Any ideas anyone?
Thanks
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Session-objects-tp1400891p1406622.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing li
Hi,
I am writing a small drools flow app. My flow starts off with a RuleGroup
node then I've two User Task nodes. What i do is this:
StatefulKnowledgeSession session =
JPAKnowledgeService.newStatefulKnowledgeSession(knowledgeBase, null,
environment);
WorkItemManager manager = session.getWorkItem
Hi,
Is there anyway we can rewind the drools flow? I mean I save my flow in db
and at a later stage I want to rewind it and start it from some other node
instead of the one it was paused at. Has anyone tried this kind of thing
before?
I've got Human Tasks in my flow and my flow stops at one of t
Hi Thanks for all your replies but the problem is that there are some actions
as well after some specific questions for example
If answer to question 1 is 'A' then perform some action (custom workhandler)
and if answer is 'B' then go to question 5 etc.
Is it possible to overwrite the persistence
Hi,
Thanks for the answers. KiranP, I can't use what you have suggested because
there can be some actions/customWorkItems in between asking questions. And
we want to create a flow that business users can edit as well. For example
if they want to change that for some specific answer for a question
Any idea? Anyone?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Replay-tp1203317p1240878.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@li
Hi,
I am writing a drools flow application and I run into a problem. Here is the
scenario:
I have a drools flow which have multiple nodes to ask different questions to
customer And depending on the response of customer Flow decides which
question to ask customer. Customer can answer straight awa
Hi,
I am writing a custom workItem handler in drools flow and want to access my
Stateless session bean from there. I will deploy my drools project to JBoss
so can I use @EJB annotation to get my stateless bean injected by jboss with
in WorkItemHandler?
Secondly I'll call my flow from with in a S
Hi,
Thanks for your reply.
What I am trying to do is create a task which needs human input. Like I said
above my post that there will be two tasks. One will be 'Ask User a
Question', this will let my front end know to display next question to user.
We'll have to wait for user's answer and flow s
Hi,
Thanks for your response but the problem is that I want flow to stop at that
point while I ask question to customer and wait there until question is
replied by customer. It can take hours/days for customer to come back. With
custom work item I don't think I would be able to setup flow to stop
Hi,
I am developing a drools flow application and at one point of the flow I
want end user (User of my website) to reply to some questions one by one
i.e. I'll show them a question on a web page and they'll answer it then next
question etc. It has a flow sequence depending on the answers of quest
28 matches
Mail list logo