Ruben,
Drools Server is a web service which executes rules that can be deployed
from Guvnor.
Regards,
Prem
2010/5/14 Rubén Marrero
> Oh!
>
> I'm tempted to ask _why_ did anyone think that having a great web interface
> where you can create, test, store & version (I would think that at least
>
OK...the following rules seems to work:
rule "Assign awardable activity to default context"
ruleflow-group "select qualified activity"
when
$context : ResultContext( activity != null &&
activity.qualifiedActivity == null )
$
OK...
Did some digging in drools source code and found this:
Line 151 in RightInputAdapterNode:
// retrieve handle from memory
final InternalFactHandle factHandle = (InternalFactHandle) memory.remove(
tuple );
Tuple value:
[fact 0:-1:0:1711615772:41:null]
[fact
0:40:260358:2136057917:40:com.bi
Oh...and I am using drools 5.1.0-M1...Jdk 1.6 rev 20
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/NullPointerException-modify-tp818403p818414.html
Sent from the Drools - User mailing list archive at Nabble.com.
_
Hi,
I am getting a very puzzling NullPointerException when I call modify() on my
object in working memory. I have the following rule:
rule "Assign awardable activity to default context"
ruleflow-group "select qualified activity"
when
$context : ResultContext( ac
Again, I think drools-server or drools-pipeline is your answer. Try to
search for examples using them. As I already said, I'm not an expert in this
area :(
2010/5/14 Rubén Marrero
> Oh!
>
> I'm tempted to ask _why_ did anyone think that having a great web interface
> where you can create, test,
Having several active processes ( parent + its subprocesses + subprocesses of
the parent subproccesses ):
mysql> select InstanceId, processId, state from processinstanceinfo;
+++---+
| InstanceId |processId | state
Oh!
I'm tempted to ask _why_ did anyone think that having a great web interface
where you can create, test, store & version (I would think that at least
exposing and securing) business tulers simply should fall short of _executing_
said rules? If Guvnor (or some other component, I'm learning
No problem. I'm not sure how you'd do this in a decision table (it's probably
pretty trivial) but in DRL you'd do:
rule "makePhoneNumber"
when
s: String()
then
insert(new PhoneNumber(s));
retract(s);
end
With two caveats:
1) you need some conditions on the String matched if there are o
Dear Greg,
Thanks very much for your reply.
I'm using sequential mode = true
Is there a way to create this PhoneNumber class, and convert the String to
the PhoneNumber object inside the Drools? Because I'm using a system called
JBilling and it send the phoneNumber as a String.
Sorry if those ar
Hi PVM,
You have to declare the variable in both flows, the parent flow as well as
the sub flow. Then you also have to map it to the sub flow node. To do that,
in the parent flow click the sub flow node and in the properties map the
variable in "Parameter In Mapping".
I hope it helps :)
--
Vie
Right off the bat I'd say try to get rid of the eval usage. Can you put the
phone number into an object like this:
class PhoneNumber {
private char digit0;
private char digit1;
///...same for the rest of the digits
public char getDigit0() { return digit0; }
public char getDigit1() {
Dear All,
I'm deploying a JBilling using Drools in a Telecom Carrier in Brazil, and
I'm using Decision tables in xls files to execute the pricing, my pricing
table has about 40.000 rules, and I'm getting a terrible performance about
1.5 minute to execute the price of each CDR (Call Detail Record)
Hi all,
It's possible to schedule (and reschedule) rules to fire in Drools Expert?
As my understood the Agenda is a kind of TODO list right? Can I reorder the
priority of that list so?
Could someone give-me and idea (a pseudo-code or something like that) to show
that concept?
Thanks In Ad
Bad news! Guvnor doesn't execute the rules! It only acts as a repository!
You can create your rules, test your rules and versioning them too, but if
you want to execute them in a real business scenario, you have to code it. I
know Drools already has some modules to do what you are trying to achieve
The idea is to use Guvnor as a REST-accessible BRMS.
We'll design, edit, test rules in guvnor, then execute them from the PHP web
app in the background (with cURL or something ) or maybe we'll use proper
webservices, as long as we can keep thing simple.
Since we are already using tomcat 5 a
OK. So, I did an isolated test, and only tested two KP including this bad
one. Both packages have their complete set of rules. But now, the other
package is able to remove this faulty one.
So, it is when I had my complete set of KPs (about 10 of them) all active,
and then attempted to remove this
Vitor,
Please stop replying to posts with unrelated topics and just changing
the title, it messes up the threaded view in most people's email app.
See here for more details on netiquette:
http://www.jboss.org/drools/lists.html
Mark
On 14/05/2010 15:51, Makewise - Vitor Rui Mendonça wrote:
Thank you Edson and no problem on the reply time I completely understand.
-- Paul Ryan
On May 11, 2010, at 6:27 PM, Edson Tirelli wrote:
Paul,
Sorry for taking long to answer but I am on vacations with limited internet
connection. You can find the changeset for that fix here:
https://j
Hi Greg!
Thanks for your quick answer.
I’m having some trouble with absence of events in Drools (I’ve send some emails
on the mailing list regarding that) and I personally think it’s some kind of
bug (mine or, probably, drools).
So, I’m looking for some help. Instead of explaining all ov
JIRA issues are for reporting bugs in drools. Is there a bug you're reporting or do you want help with this particular problem?--- On Fri, 5/14/10, Makewise - Vitor Rui Mendonça wrote:From: Makewise - Vitor Rui Mendonça Subject: [rules-users] Entry-Points can cause NullPointerException and/or no
Hi again.
First of all, I'm running Drools 5.1.0.SNAPSHOT on Windows and Eclipse 3.4.
I've submitted a Jira Issue (https://jira.jboss.org/jira/browse/JBRULES-2511):
"
I've got a system that receives transactions. I want to implement the following
rules:
- raise an alarm(alarm event) whe
hi,
i've create a working set of rules via the Eclipse IDE.
I've now factored my rule set into a sub flow that i want to call twice -
each time with differrent parameters.
i've created the sub-flow .rf file, and added a sub-flow call to it in my
main flow.
I've defined variables for the sub flow b
Hello All,
We are evaluating Drools for our production implementation with special
focus on the fact that it would let less technical people be able to work
effectively with business logic (once developers provide them with a data
model). We are relatively new to Drools and our impression has not
Hi people! I’m glad to announce that we (Plug Tree: http://plugtree.com)
are preparing a Plugtree’s training course for Drools(tm) during June in
Boston and/or NY the week after the Redhat(tm) Summit.
These courses are going to cover all the Drools(tm) juicy parts from the
insider perspective of a
I didn't test Guvnor in Tomcat 5, but I did it in Tomcat 6. The only thing
you need to do is to remove el-ri-xxx.jar and el-api-xxx.jar from Guvnors
libraries (open the war file, browse to WEB-INF/lib and remove the files).
This is because Tomcat already provides this libraries. That is the only
th
Hi Jervis Liu,
Thanks for your reply.
I removed the libraries, and still get the same error.
Cheers,
Mariana
-Ursprüngliche Nachricht-
Von: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] Im Auftrag von Jervisliu
Gesendet: Freitag, 14. Mai 2010 06:34
An:
27 matches
Mail list logo