Yeah, Drools Flow was renamed to jBPM 5 and 6
On Mon, Oct 14, 2013 at 5:44 PM, vojedav wrote:
> What happened with that project? Is embedded in Rules Expert o where? If I
> want to develop an app with workflow, have I to get jBPM instead? Thanks in
> advance
>
>
>
> --
> View this message in co
What happened with that project? Is embedded in Rules Expert o where? If I
want to develop an app with workflow, have I to get jBPM instead? Thanks in
advance
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Flow-tp4026363.html
Sent from the Drools: User forum mailing l
Hi salaboy,
I want to change the css properties of the ftl files generated by Guvnor(
I'm using JBPM 5.2 installer s/w).
Is there any way to change the css properties of ftl files generated by
Guvnor Oryx designer?
And also i want to know the folder location (in jbpm 5.2 installer software)
wher
Greg, your guess is correct! The process instance is in fact persisted in db
for the period waiting for response in node 2.
Guys from dev-team, do you agree that this is a bug and should be filled in
Jira?
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Flow-5-1-Updati
hi,
it's a long shot and by far should not be treated as something
definite (i haven't checked the source code), but i suspect that
you've just found another bug in JPA/persistence implementation.
I agree with salaboy that once process has been updated only
new proc
hi,
sorry but i've never tried to use something else. My application uses
spring so there was no other option for me.
On 25/05/2011 20:16, anton.litvinenko wrote:
> Greg, were you able to achieve process persistence in other configurations?
> (e.g. without spring?)
>
> I don't use drools-spring
I tried exactly that and my already running process continued with the
*updated* process version.
I have a process with 3 nodes: Action Node (writing to system.out) => Async
Work Item (makes request and then waits for async result - not blocking) =>
Action Node (writing to system.out)
So, I exper
Greg, were you able to achieve process persistence in other configurations?
(e.g. without spring?)
I don't use drools-spring bean factories to instantiate KnowledgeAgent and
KnoweldgeBase (instead i created alternative factories) + the following JPA
definition and spring context
persistence.xml:
Well the documentation sounds clear to me. The running process instances will
continue running with the old version of the process and the new ones will pick
the last uploaded version. If someone modifies the process definition a new
version of the process will be created.
Cheers
- CTO @ http:
Esteban, please explain if a process cannot be updated (and one has to deploy
a new process with a different id whenever he/she changes the process
definition), then what does the second part of the
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html/ch04.html#d0e1514
mean?
Q
hi,
i've put some notes on how to set it up in the below thread (have a look
on the last entries)
http://drools.46999.n3.nabble.com/Can-Drools-Flow-Persistence-Work-without-JTA-td1647078.html#a2785697
but be aware of the bug
http://drools.46999.n3.nabble.com/drools-flow-persistence-doesn-t-work-
I'm trying to persist my workflow into an Oracle db, when I tried to create
the session
StatefulKnowledgeSession ksession =
JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
I have the exception bellow
Hibernate: select hibernate_sequence.nextval from dual
May 12, 2011 2:14:09 PM
The DBA added the grant to allow the recover of oracle ressource, so it
resolve the problem.
But another exception appear :-(
Hibernate: select hibernate_sequence.nextval from dual
May 12, 2011 2:14:09 PM org.hibernate.util.JDBCExceptionReporter
logExceptions
WARNING: SQL Error: 0, SQLState: null
but definition of "Proceed" seems to contradict that:
"Proceed: The running process instance proceeds as normal, following the
process (definition) as it was defined when the process instance was
started. As a result, the already running instance will proceed as if the
process was never updated. N
According to the documentation, updating a process means to add a new
version of the process with a different id:
"Actually, you cannot really update a process, you can only deploy a new
version of the process, the old process will still exist. That is because
existing process instances might still
Hi!
According to
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html/ch04.html#d0e1514
Drools Flow is using "Proceed" strategy by default = already running
processes should continue using old process definitions and new processes
will be run according to updated process defin
Nobody uses Drools Flow with Spring?
According to svn Mark Proctor should be aware why/how this localTransaction
flag is used. Mark could you please comment?
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Flow-5-1-persistence-spring-localTransaction-tp2875263p2928070.h
I think I found the source of the problem,
It seems that I don't have enough privileges to recover some oracle
resources when using bitronix
http://docs.codehaus.org/display/BTM/FAQ#FAQ-WhyisOraclethrowingaXAExceptionduringinitializationofmydatasource%3F
Someone has tried to use another transact
Hello jschmied,
Thank you for your quick reply,
I have the same configuration like you ! I'm using
drools-persistence-jpa-5.0.1.jar do you use the same version ?
Thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-flow-persistence-with-Oracle-Could-not-obtain-BTM-t
Hi!
It works for me on Oracle.
in persistence.xml:
org.hibernate.ejb.HibernatePersistence
jdbc/processInstanceDS
org.drools.persistence.info.SessionInfo
org.drools.persistence.info.WorkItemInfo
org.jbpm.per
Hello,
I crated a sample application to test the persistent of drools workflow. I
tried the example given in the documentation using H2 Db, everything works
fine.
But when I tried to move to Oracle, I have several problems. I resolved the
bug related to entity names when they are longer than 30,
Hi everybody.
I am using Drools 5.1.1 with persistence support. In the Wait State node I
only have the option to write a constraint in the rule way, and I have not
discovered how to use a variable of the ruleflow in it. Please, see the
hypothetical scenario below:
variable - a variable of the rul
Hi,
I use drools flow with JPA persistence.
Is it possible to directly access and manipulating process instance
variables?
You could see the changed variables in the log (table
variableinstancelog), but I don't know how to directly access or change
them in the living process, The use case is, t
Hi!
I am quite new to Drools and Drools Flow - please let me know if I am asking
something obvious here :)
I've implemented my custom WorkItemHandlers that are aware of the
KnowledgeSession. Now, I am trying to enable persistence to flows using
drools-persistence-jpa and drools-spring. Ideally, I
hi,
i've created a simple project that fails/succeeds base on the passed
transaction manager. See my comments in the test.
http://drools.46999.n3.nabble.com/file/n2843407/droolsflow-bugs.zip
droolsflow-bugs.zip
i'd appreciate if anyone had a look on this issue
--
View this message in context:
As far as I remember, there was a problem with spring and JTA XA
implementation.
Can you provide us a simple test case that fails? we can create a jira issue
and work on it easily if we have that.
Greetings.
On Wed, Apr 20, 2011 at 11:57 AM, gs76pl wrote:
> hi,
>
> i've been trying to setup my d
hi,
i've been trying to setup my drools flow persistence layer to use spring
transaction management (JTA) but it looks like some parts of the code are
missing in 5.1.1 rendering the whole idea impossible.
Whats happening is that when my transaction manager calls commit it gets
NullPointerExceptio
hi,
thanks for your explanation.. at least now it's more clear to me (wish this
information was in a drools flow doc). I've also found this thread
http://drools-java-rules-engine.46999.n3.nabble.com/Resuming-the-Flow-SESSION-ID-PROCESS-INSTANCE-ID-WORKITEM-ID-td607507.html
Resuming-the-Flow-SESSI
If your WorkItems take so long, they must be asynchronous. If they are
asynchronous, the state of the process is persisted after the WIHandler is
invoked. If your system crashes after WI1 was invoked, then an external
system (the one the WI is communicating with) received a signal to start its
work
ok, you're right about the ht node i.e. once i completed the task using
reloaded sessionId the process has progressed to the next node.
The problem i have though is that i don't think it's enough (unless my
understanding is incorrect). Say for a process like below:
Start -> WorkItem1(takes 1 hour
Hello,
I'm using Drools Flow 5, I have N Message events waiting for a signal to be
started, I want to launch a Timer in the beginning of my WorkFlow, if one of
the event is received, then I want to stop the Timer and execute my workflow,
else I want to execute another branch of my workflow.
The point is that there is no reason to restart the process. It will be
restarted (from the ht node) when the client UI completes the task. Try just
reloading your ksession and completing the task from the UI.
Best Regards,
Esteban Aliverti
- Developer @
hi,
thanks for your prompt reply,
OK, i've a custom screen that checks for a task assigned to a specific user.
What i'm trying to do now is checking how to restart a process when for
instance the server crashes. In order to simulate this i'm killing my
process once a human task has been created. A
If you left your process instance inside a human task node, you will need to
continue up to that point when the session is restored. If you are using
Human Tasks API, you will need to call client.complete(taskId, actorId, ...)
for example. How are you completing your human tasks?
Best Regards,
XX
hi,
this could be it as i call ksession.startProcess(processName).
is there any way to restart a specific process then as i have problems with
finding appropriate API
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/drools-flow-why-after-reloading-some-process
Are you starting the process after loading the session? If so, then you are
starting a new instance of the process. The first process is still waiting
for the human task to be completed.
Best Regards,
Best Regards,
Esteban Aliverti
- Developer @ http://w
hi,
i've a simple drools flow process with one workItem (its execute method
simply prints some text) and one human task. I'm using
drools-persistence-jpa to save my process status and load it when
process/server crashes.
What i've noticed is that:
1. after starting process my processinfo table get
hi,
As it turned out the problem is in the Description field that allows null
values. When no value is being specified aforementioned table joins produce
incorrect results. Bearing that in mind Description field turns out to be
mandatory and should be the same as the Name value
--
View this messa
hi,
i've noticed that after creating two separate tasks (different names) for
the same user below query return 2x2=4 items from which two of them are
duplicates
minaClient.getTasksAssignedAsPotentialOwner("user","language",responseHandler)
List tasksOwned = responseHandler.getResults();
I've ch
i'm only interested in a task rendering framework. i've been looking into
gwt-console but:
1. it looks very very basic
2. i've not been able to get an access to any task so far
3. i'm not sure where i could find some sample screen definitions
--
View this message in context:
http://drools-java-r
Do you want a framework that provides render the User Interfaces?
Most of them provide the render automatically, but you need to code your
screens.
Do you want a framework that generates the User Tasks automatically?
On Fri, Feb 4, 2011 at 11:24 AM, gs76pl wrote:
>
> Sorry but what i meant is so
Sorry but what i meant is some existing framework that would provide me with
a rendering functionality out of the box (as you said some web/swing
application)
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/drools-flow-how-to-crate-a-human-task-form-tp2424123
You can use Swing for desktop application or any web framework for Web
Applications. You can also expose everything as a service and create UIs
using a different language for example .NET or Flex.
On Fri, Feb 4, 2011 at 11:03 AM, gs76pl wrote:
>
> can you give me any example of such UI technolo
can you give me any example of such UI technology?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/drools-flow-how-to-crate-a-human-task-form-tp2424123p2424374.html
Sent from the Drools - User mailing list archive at Nabble.com.
__
Hi there, you can find an example that Esteban and I created using the Human
Task APIs inside a Swing UI for a stand alone app.
Take a look at the code here:
https://github.com/Salaboy/emergency-service-drools-app/
The UI code it's pretty messy right now, we are working to refactor it to
clean it u
The Human Task API gives you all the things you need to create your custom
UI. It doesn't provide any way to create it though.
You can choose the best technology/framework for you UI and then use the
APIs to retrieve, complete, etc. your tasks.
Best Regards,
XX
hi,
What is the best way of creating some UI for human tasks with an input form?
I've a sample process with a human task that should update some values in
the process. I had a look into API of a task and the only thing i can find
there is 'content' which i'm not really sure about (is it the plac
Has anyone ever tried to persist Drools Flow processes to HBase (or
some other NoSQL DB)? We are working on a cloud-based system sitting
with HDFS and HBase for storage. We would rather not introduce a
RDBMS into the architecture simply to support Drools Flow's JPA
requirement for persist
Hi all,
I recently joined this group. We are using Drools flow to create some
workflows to automate some of the tasks. Would like to have some advice on
how we can use python instead of Java or Mvel. Do we have some good
tutorials/articles on this. In Drools flow we have nodes like 'Script' ,
'Co
Hi all,
I recently joined this group. We are using Drools flow to create some
workflows to automate some of the tasks. Would like to have some advice on
how we can use python instead of Java or Mvel. Do we have some good
tutorials/articles on this. In Drools flow we have nodes like 'Script' ,
'Con
Hi,
How can I create a StateNode using the DroolsFlowProcessFactory? I'm
using Drools 5.1.1 and the StateNode exists, but there is no method:
StateNodeFactory stateNode(long)
available. For that matter, there is no StateNodeFactory class either.
Is this an oversight? Do I need a newer
Hi,
I have spoken with the Drools developers and they are aware of the problem
and are going to fix it. In my previous post, I mentioned that if you
comment out the line:
wm.setRuleFlowEventSupport(this.ruleFlowEventSupport );
in the function newWorkingMemory() within the file
StatelessKnowledg
I have same issue. Can anyone help?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-within-Stateless-Session-in-Drools-5-1-tp2094451p2187624.html
Sent from the Drools - User mailing list archive at Nabble.com.
_
I figured it out.
I was missing the buildProcess() call which actually turns all the nodes
into Rules:
PackageBuilder packageBuilder = new PackageBuilder();
ProcessBuilder processBuilder = new ProcessBuilder(packageBuilder);
processBuilder.buildProcess(process, null);
I fo
I'm working with 5.2.0.SNAPSHOT.. I will try to test your code and let you
know my results..
Greetings.
2010/12/27 Daniel Nathanson
> Hi Mauricio,
>
> Were you ever able to figure out what I am doing wrong?
>
> Regards,
>
> Dan Nathanson
>
> On Dec 23, 2010, at 3:10 AM, Mauricio Salatino wrote:
Hi Mauricio,
Were you ever able to figure out what I am doing wrong?
Regards,
Dan Nathanson
On Dec 23, 2010, at 3:10 AM, Mauricio Salatino wrote:
Hi There..
What version of Drools are you using?
I can help you to figure out what is happening..
2010/12/23 Dan Nathanson
Hi,
I've been bangin
"I am using Drools 5.1.0, but it doesn't work with Drools 5.0.1 either."
I'm pretty sure I must be missing a step when going from
DroolsFlowProcess --> StatefulKnowledgeSession, but I can't figure it
out. I'm probably getting one of the intermediate classes
incorrectly. Probably calling a
Hi There..
What version of Drools are you using?
I can help you to figure out what is happening..
2010/12/23 Dan Nathanson
> Hi,
>
> I've been banging my head against this for days and just can't get it
> to work. At this point I'd like to just get the example code working.
> I've got a simple
Hi,
I've been banging my head against this for days and just can't get it
to work. At this point I'd like to just get the example code working.
I've got a simple class that is currently being driven by a JUnit
test case. I just want to create a Process flow and execute it. I
don't care what it
Hi,
I have investigated this a little further. Since a stateless session uses a
stateful session internally, I compared the code in the stateless session
implementation that instantiates a stateful session to the regular stateful
session instantiation code.
In the file StatelessKnowledgeSession
I am seeing some odd behavior where it seems that inference is not working
when trying to use a flow process within a stateless knowledge session. I
have tried to do the same thing in both stateful and stateless, and the
behavior is different. It appears that if one rule inserts a fact in its
rig
How should this be done? My startProcess call returns before the workflow has
finished because I have long running WorkItems.
Do I need to call dispose on the session when the workflow has completed?
If so can I call dispose from a ProcessEventListener?
Thanks,
Greg
___
Hello,
I am seeking for ideas:
for my current project, we have the requirement to externalize the business
and the sequence of steps of a web flow.
Example:
Online banking: money transfer from account A to account B.
Step1: gather transfer data from user. -> GOTO Step2.
Step2: route: IF amount
If I include the org.drools.persistence.processinstance.variabletypes package
in drools-flow-persistence-jpa-5.2.0.SNAPSHOT.jar of
gwt-console-server-drools.war I get another exception at
org.drools.integration.console.DroolsFlowCommandDelegate.java line 63 when
trying to view the processes.
While
Hi all,
Has anyone tried from the lastSuccessfulBuild - #6023, the drools flow
part?? i.e. create a process in guvnor and view it from gwt-console or
gwt-console-server or should we not touch that yet?? and play with the 5.1
version of the gwt-console/gwt-console-server??
The log with the excepti
Any indication of when the Drools Flow documentation may be updated to
reflect what was actually released as opposed to the old style
icons/task/event names?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-flow-documentation-update-tp1915184p1915184.ht
ff: [rules-users] Drools flow question on proper exception handling / use
of faults
Hi,
I have a process workflow where an exception might occur within one Action. I
need to react on this exception in the workflow. That means I don't want to
skip the entire processing
I just want to react prop
That exactly what I tried, but I allways got the error about ,There is no
ID/IDREF binding for IDREF '_2_response'. or some other parameter. Is there
some required naming convention?
What I did is set In mapping like this employee = employee, length=length
response=response and the same for out ma
You need to use both mappings
IN Mappings (Parameter Mapping in the IDE): this will copy your process
variables to the work item scope
and OUT Mappings (Result Mappings): this will copy the information created
or modified by the work item (in this case a human task) to the process
scope.
Greetings
Hi,
I recently run into some problems when trying to create a simple holiday
request process.
I defined process variables but I struggle to understand how to access them
in Human Task.
In my User Task ,,holiday approval" I have this as a description:
#{employee} requested holiday for #{length} day
Hi,
I have a process workflow where an exception might occur within one Action. I
need to react on this exception in the workflow. That means I don't want to
skip the entire processing
I just want to react properly by setting an error variable and skip this
specific item (my process iterates ov
Last version of Guvnor supports lets you edit flows using Oryx.
Best,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Wed, Nov 10, 2010 at 7:29 AM, ajay.karthik.nn
wrote:
>
> Hi All,
> Does Drools
Hi All,
Does Drools provide an external editor for Drools Flow other then
eclipse. The eclipse based distribution is huge, so we wanted a light weight
application where we can just build and run workflows.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.co
On 10/11/2010 11:58, Esteban Aliverti wrote:
Last version of Guvnor supports lets you edit flows using Oryx.
I would add that Guvnor was not updated to create extensions ".bpmn2"
files for flow, even though that is the default format now. As such
creating a flow does not result in the Oryx edit
trag von Kris Verlaenen
> [kris.verlae...@cs.kuleuven.be]
> Gesendet: Montag, 08. November 2010 01:19
> An: Rules Users List
> Betreff: Re: [rules-users] [Drools Flow] checking Properties of supplied
> variables in constraints
>
> Gregor,
>
> Is there a reason why you are usin
Hello,
i'm using the latest version 5.1.1 of drools-flow for a POC project.
I have a process definition where I have an intermediate event node within a
foreach CompositeNode.
When I trigger the event using processInstance.signalEvent() I get a
ClassCastException:
java.lang.ClassCastException:
nager)
Regards
Von: rules-users-boun...@lists.jboss.org [rules-users-boun...@lists.jboss.org]
im Auftrag von Kris Verlaenen [kris.verlae...@cs.kuleuven.be]
Gesendet: Montag, 08. November 2010 01:19
An: Rules Users List
Betreff: Re: [rules-users] [Drools Flow] checking Properties of supplie
Gregor,
Is there a reason why you are using rule constraints in your process?
It seems you are doing a simple evaluation of a process variable value,
in which case a simple code constraint like:
return "reviewer".equals(ticket.getType());
should work, and you'll have less changes of seeing st
Hi,
i am supplying an object as variable to my workflow. in a split i try to check
the property "Type" of the
supplied object and according to it move on to the next actionnode (for testing
purposes).
in the actionnode i am setting a string, that i am printing out later.
my test looks as follow
On Wed, Oct 27, 2010 at 5:21 PM, tizo wrote:
> Hi there,
>
> I have seen in chapter 6 of the documentation, that Drools Flow can be
> configured to use JPA and transactions to persist the running states.
> However, I am in a EJB where I obtain entity managers with a
> @PersistenceContext annotati
Hi there,
I have seen in chapter 6 of the documentation, that Drools Flow can be
configured to use JPA and transactions to persist the running states.
However, I am in a EJB where I obtain entity managers with a
@PersistenceContext annotation, and the transactions are managed by the
container, whe
Prafull,
It all depends on how you want to store the data that you need to do
BAM. You could consider the audit logger as an example of how you could
do logging (although it might probably be better to not use XML logging
for BAM, but rather use a database or feed the events directly into
Drools
Drools allows remote clients to use exactly the same API by using a
command approach. We have a client-side implementation of the drools
session api that simply creates command objects that can be serialized
and then transported from client to server using most communication
channels. At server s
I'm considering Drools Flow for a project that requires a workflow enactment
engine. One concern I have is how much effort it might take to make remote
calls to the engine. I plan on running the engine in its own JVM. I would
then like for servlets to talk to the engine, for instance to tell it t
Hi,
Now we have the extensive BAM requirement on the Drools Flow. From the
documents
I got a good understanding of the BAM support, but I would like to clarify the
following points:
1. In the ProcessEventListener can we embed required data from the process,
global variables?
Example I see th
just updating the subject to Fixed, so that it wud be helpful for other users
to directly look for solution.
-drooRam
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1610992.html
Sent from the Drools - User mailing li
another example:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-flow-variables-don-t-get-passed-to-sub-process-td1609297.html#a1609297
he mentioned that he is using the variable in subflow you can set it
using IN/OUT param, registered variable thus can be passed to subflow in
t
Hmm that one, i believe to persist the variables during the process flow. so
you can work later on the persisted variable based on your use case.
sometime you need to halt the process for any approval or some other event,
then resume it once the event is triggered, so that time you would be using
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
Ok,
I look at book again and the sources of the examples. And I added the
insert of my fact and, indeed, my flow now seems to be working...YES!
If I have to insert my object as a fact, why do I need to register the
variable?
Thanks for your help.
Bob
--
View this message in context:
http:/
Hi,
Although the BPMN2 specification hasn't actually been ratified as yet,
Drools 5.1.x does appear to be backing BPMN2 (obviously a good decision!).
However, according to the spec, Drools isn't doing BPMN proper - and
regardless of whether the spec has been ratified or not, it could be closer
tha
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.
__
I followed that book and successfully setup droolsflow project mentioned in
that book. But it needs lot of tweaking to set it up against 5.1.1.
fyi, in that book, he has inserted "Loan" as fact. Indeed, all the
processing variables of object type has been inserted before to the call
startProcess(
I tried inserting FooInstance as a fact but then it seems to have nothing to
do with the process. In my second rule I am trying to get at the
WorkFlowProcess in my constraints but this rule will not consistantly fire.
It only seems to work when the Test run is there.
I found this in my log.
That's because you are evaluating a Process Variable as a fact.. and it's
not a fact. You cannot do:
i : FooInstance(action == 'EDITING')
Because inside the working memory there is no FooInstance.
If you want to do that.. you should insert the FooInstance instead of
defining it as process variable.
Here is my object:
package com.rrd.xspace.drools;
import java.io.Serializable;
public class FooInstance implements Serializable
{
/**
*
*/
private static final long serialVersionUID = 132337L;
private String action = "EDITING";
you can try activating the KnowledgeRuntimeLogger to see what is happening
inside the knowledge session.. you will find the answers there..
If you can share what objects are you inserting inside the parameter maps
and how your rules looks like we can help..
Also if your process define the variables
I create a knowledge base in the typical fashion. I construct a knowledge
builder and add my drl and rf files, then instantiate my knowledge base.
I build my parameter map and then start the process using my knowledge base.
StatefulKnowledgeSession session =
processKnowledgeBase.newStat
1 - 100 of 494 matches
Mail list logo