A simple statement like
id of organization
with DSL rule
[keyword][]{attr:[A-Za-z0-9]+}\s+property\s+of\s+{obj:[A-Za-z0-9]+}={obj}.get{attr!ucfirst}()
works just fine with result organization.getId().
If I want to use statements like
id property of organization property of department
It may be not the corrent way of doing it.Let's do like this. If you are
using file based JCB for your repository, why can't you try copying the full
repository manually to your new location...It may work...but i am not sure.
It worked for me when i do it migrate the repository between two
Hi,
I have got a business requirement to access specific version of a rule and
process them accordingly. My rules are stored in file based JCB based guvnor
repository. For example, i have a rule in a package created, having more
than one version varying with rule definition for each version.
How
Converting a left-to-right DSL phrase into a right-to-left Java-style
method call isn't something a regular expression can do, not for the
general (i.e., unlimited) case.
You'll probably require this for a limited number of steps, though.
Untested proposal:
Precede the single step phrase in your
Sorry, there was a JIRA link in the message thread that I didn't notice.
https://issues.jboss.org/browse/JBRULES-1325 says the leak was fixed in 5.0
--
View this message in context:
http://drools.46999.n3.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-tp54778p4020292.html
Sent from the
Hi i have had another go at this,trynig to learn DRL and hthen applying it to
my spreadsheet. The below is what i have so far:
in java i create:
ListCar list = new ArrayListCar();
Car o1 = ...
Car o2 = ...
list.add(o1);
list.add(o2);
Test t = new Test(list);
Car is: (name, value)
DRL
Thanks for a very detailed answer, Davide.
To give a brief overview of the usecase, I am trying to build a state of a
user over a period of time based on the activity he/she performs on our
website. They may click on various pages. I will be writing rules such as
when a user clicks on certain
Hi everyone,
I'm new to Drools, so apologies if I'm missing something obvious or mixing up
my terms here. Hopefully the subject line got someone's attention!
My problem is this (somewhat contrived and simplified):
Facts:
1. A person would like to eat 3 eggs per day, of each of several
On 2012/10/15 19:46, Ravikiran wrote:
Hi,
I have got a business requirement to access specific version of a rule and
process them accordingly. My rules are stored in file based JCB based guvnor
repository. For example, i have a rule in a package created, having more
than one version varying with