Hi
I am new to drools. Forgive me if the question iam asking is too dumb :P.
I want to write java code inside the rules in the drools-guvnor using the
standard classes, like parsing a string using wrapper classes. How can i
import these java classes?
--
Thanks and Regards,
Sumatheja
an exception: +Ee.toString());
}
end*
However if i remove the try catch block it buils fine.
Can anyone let me know if i'm missing something here.
Thanks in advance :)
--
cheers
Sumatheja
___
rules-users mailing list
rules-users@lists.jboss.org
https
a ; after
$c.getModel().
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules
Hi Michael,
I have written this rule in the guvnor editor, i did import
java.lang.Exception.
2010/10/13 Michael Anstis michael.ans...@gmail.com
Did you import the Exception class?
2010/10/13 sumatheja sumath...@gmail.com
Hi All,
I have a set of rules. After firing
sumatheja sumath...@gmail.com
Hi Wolfgang,
I am actually writing all the rules in a .drl and
importing them into a guvnor. I didn't mention the dialect explicitly
anywhere in the code. Is the default dialect MVEL. Is there a way to make
one time declaration of dialect in my case
field *HostName*. It works fine
when i use *hostName*. Can anyone explain me the concept behind this.
Thanks in advance :)
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo
://salaboy.wordpress.comhttp://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.arhttp://www.jbug.com.ar
- Mauricio Salaboy Salatino -
On 13/10/2010, at 22:20, sumatheja sumath...@gmail.com wrote:
Hi All,
I have this doubt regarding the notation used inside the rule's
condition. I
the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
cheers
Sumatheja Dasararaju
Hi All,
Is it true that the performance of RETE algorithm gets
affected if we use eval function in the rules conditions?
Can anyone explain if this is true.
--
cheers
___
rules-users mailing list
rules-users@lists.jboss.org
- is still better than naive or brute
force searches.
-W
On 18 October 2010 08:47, sumatheja sumath...@gmail.com wrote:
Hi All,
Is it true that the performance of RETE algorithm gets
affected if we use eval function in the rules conditions?
Can anyone explain if this is true.
--
cheers
Hi All,
I'm trying to expose a class as a web service using jax ws.
The class has methods using StatefulKnowledgeSession . Everything goes
on well if i omit those fields. Any idea on this??
--
cheers
Sumatheja Dasararaju
___
rules-users mailing
/xyz.pkg'
type='PKG' /
/add
/change-set
Any help will be much appreciated. Thanks.
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hi All,
I'm new to using decision tables. I'm trying to create a join in
the condition column like
when
Header($a:id)
SubHeader($b:id==$a)
How to achieve this in decision tables. Any help will be appreciated.
--
cheers
___
is the word null (no quotatioin marks) and not an
empty value.
You could use any other check in the Header column that is always true
(e.g. id 0 in which case 0 would become the row value, etc).
With kind regards,
Mike
On 3 April 2012 14:39, sumatheja sumath...@gmail.com wrote:
Hi All
)
at
org.drools.rule.constraint.MvelConstraint.jitEvaluator(MvelConstraint.java:166)
... 15 more
Can someone tell me the possible causes. This happens with very few facts
making it even more confusing. Thanks in advance
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users
know, what exactly the
exception means and any possible scenario when it can occur
On Wed, Apr 11, 2012 at 7:42 PM, Mario Fusco mario.fu...@gmail.com wrote:
Hi Sumatheja,
thanks for reporting this, but I'd need to have some more informations in
order to reproduce your problem.
Which version
.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https
Can you let me know if I missed anything while migrating to CR1?? Thanks in
advance.
On Thu, Apr 12, 2012 at 8:29 AM, sumatheja sumath...@gmail.com wrote:
Hi Mario...
This exactly, seems to be the problem. I'm getting the
exception exactly at 21st record. I'll try it on CR1
Thanks Toni. Eagerly awaiting for your response :)
2012/4/12 Toni Rikkola toni.rikk...@gmail.com
I'll check if there is a bug in Guvnor. It could cause the SocketException.
Toni
On Apr 12, 2012, at 12:06 PM, sumatheja wrote:
Hi Mario,
I moved to 5.4 CR1. I replaced
directly from Guvnor? You could test the
jitting error with that.
Toni
On Apr 12, 2012, at 12:30 PM, sumatheja wrote:
Thanks Toni. Eagerly awaiting for your response :)
2012/4/12 Toni Rikkola toni.rikk...@gmail.com
I'll check if there is a bug in Guvnor. It could cause the
SocketException
) {
for (KnowledgeBuilderError error: errors) {
System.err.println(error);
}
throw new IllegalArgumentException(Could not parse
knowledge.);
}
Can someone guide me through this.
On Thu, Apr 12, 2012 at 12:11 PM, sumatheja sumath...@gmail.com
functionality, jus wanted to know anout it
2012/4/12 Michael Anstis michael.ans...@gmail.com
Did you build the binary package in Guvnor?
There was a big change to the serialization of packages in Drools Expert.
On 12 April 2012 14:08, sumatheja sumath...@gmail.com wrote:
Hi I tried deploying
(
C:\\Users\\Sumatheja\\workingmemory.info);
FileOutputStream fos = new FileOutputStream(file);
ByteArrayOutputStream baos = new
ByteArrayOutputStream();
marshaller.marshall(baos, workingMemory
of
org.drools.marshalling.impl.PersisterHelper.java available to me.
-W
On 16/04/2012, sumatheja sumath...@gmail.com wrote:
Hi All,
I ran across an issue while unmarshalling
StatefulKnowledgeSession.
First I'm marshalling the session using the following code which works
fine
Marshaller
I'm getting the same issue when I try to unmarshall a sample application
which has the jbpm process (which moves out guvnor as possible cause).
can someone guide if this is some bug? or should I change the jbpm jar
version?
On Mon, Apr 16, 2012 at 11:37 AM, sumatheja sumath...@gmail.com wrote
assets.
Edson, I think I am right? We need to call this loud and clear in the
release notes.
sent on the move
On 16 Apr 2012 12:33, sumatheja sumath...@gmail.com wrote:
I'm getting the same issue when I try to unmarshall a sample application
which has the jbpm process (which moves out
it is.
Please note that this is temporary as we are talking about development
(i.e., non-final) versions.
Edson
2012/4/16 sumatheja sumath...@gmail.com
Hi Michael... Thanks for the response I'm getting this exception even
without a guvnor i.e. when I use a local project which has jbpm
) succeeded.
17:00:18,682 INFO [org.drools.guvnor.server.security.DemoAuthenticator]
(http--127.0.0.1-8380-5) Demo login for user (admin) succeeded.
17:00:18,765 INFO
[org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit]
(http--127.0.0.1-8380-10) Successfully deleted file
:C:\Users\Sumatheja
Thanks everyone for the help :)Its working fine with jbpm 5.3
development snapshot and drools 5.4 cr1... cheers!!
On Mon, Apr 16, 2012 at 3:08 PM, sumatheja sumath...@gmail.com wrote:
Thanks Edson... I expected this could be a ersion issue... can you send me
the link for the latest
can remember in older versions of drools I never used to
import these jars seperately.
Is it recommended to continue writing rule-flows with the latest
versions?? I'll be grateful if someone can provide me a link where I can
get my confusions cleared.
Thanks in advance
--
cheers
Sumatheja
, sumatheja sumath...@gmail.com wrote:
Hi All,
I have a problem refreshing the sateful knowledge session whenever
there is a change in the rules assets int he guvnor. Below is my code used
for configuration
StatefulKnowledgeSession ksession = null
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
your intent with
fireUntilHalt(), but why do it in a roundabout way?
-W
On 3 May 2012 15:11, sumatheja sumath...@gmail.com wrote:
Hi All,
I'm using a stateful knowledge session in my project, where *
ksession.fireUntilHalt()* will trigger the rules as and when the facts
determine when to call
halt, in all possible circumstances. Then, and only then, it would be the
same thing. But using halt is more compulsive: you must not miss calling
halt().
-W
On 3 May 2012 16:50, sumatheja sumath...@gmail.com wrote:
Hi wolfgang,
Thanks for the response
Message(*testDate new Date()*)
then
System.out.println(Test);
end
Do I have to insert a seperate fact which will contain the current date?
Thanks in advance.
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
0:00:00, you should
establish a global variable of type Date and initialize it after
creating your session and before inserting any facts.
-W
On 09/05/2012, sumatheja sumath...@gmail.com wrote:
Hi All,
Can anyone tell me if there is a variable or standard way to get
the *current
I missing anything? Thanks in advance.
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Thanks for the response. so I guess I need to typecast and use it. :)
On Thu, May 10, 2012 at 4:44 PM, FlyingEagle
elisabeth.wi...@wincor-nixdorf.com wrote:
Hi Sumatheja,
bad news...
Guvnor doesn't support generics. I had the same problem and now I am
working
without type safe definitions
be expected to
either.
Waiting for somebody to correct me... and having a heap of work to do on
Guvnor. ;)
On 10 May 2012 16:56, sumatheja sumath...@gmail.com wrote:
Thanks for the response. so I guess I need to typecast and use it. :)
On Thu, May 10, 2012 at 4:44 PM, FlyingEagle
.
Thanks.
sent on the move
On 10 May 2012 17:45, sumatheja sumath...@gmail.com wrote:
Hi Michael,
When I try to add a global variable like
*global java.util.ListInteger tresholdList;*
the package build properly without issues.
On Thu, May 10, 2012 at 5:30 PM, Michael
Hi,
I've created a simple bpmn flow which has a start noden rule-flow task
and end. When I try to import it from oryx designer and validate it it
gives an error saying cannot find process image. Can anyone help me know
what I'm missing.
--
cheers
Sumatheja Dasararaju
sample.bpmn
Description
the process image by clicking on the PNG button on the footer
bar. Once you have generated your process image and re-validate this
warning should no longer be there.
Hope this helps.
Tihomir
On 5/11/12 10:45 AM, sumatheja wrote:
Hi,
I've created a simple bpmn flow which has a start noden rule
/11/12 11:30 AM, sumatheja wrote:
Thanks for the response. I've another doubt, can you let me know
how to check the logic thats implemeted in an OR gate in the flow.In my
case I'm using the name field in a Manufacturer fact to redirect the
flow. I'm unable to find it in the properties
properly. Is this an issue or am I missing anything? Any
suggestions for better approach are welcome.Thanks in advance.
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
. But the
problem is XOR expects always atleast one branch to be true which is not
necessarily true here and, if I use AND both should be true which again is
not valid here. Can someone suggest a way to achieve this behaviour. Thanks
in advance.
--
cheers
Sumatheja Dasararaju
attachment
appreciated.Thanks in Advance.
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
.
Drools Expert had a big change to the serialization\de-serialization
mechanism and, AFAIK, it is not backwardly compatible.
This is worth trying before anything else.
On 22 May 2012 17:21, sumatheja sumath...@gmail.com wrote:
Hi,
I've a drools application running on drools 5.4 cr1
/listinfo/rules-users
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
://lists.jboss.org/mailman/listinfo/rules-users
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Mon, Jun 11, 2012 at 9:17 PM, sumatheja sumath...@gmail.com wrote:
Hi All,
I've a set of bmpn2 processes. When I try to compile them
locally, its compiles fine. But when I
Thanks for the response.. I found that there was no condition for a
branchout in the split condition and when I fixed it everything was fine. I
have no idea how it is successfully compiling locally with this error.
On Tue, Jun 12, 2012 at 8:34 AM, sumatheja sumath...@gmail.com wrote:
Thanks
of current date in *dd-MMM-*
rule fire fine. Can someone please suggest me a way to achieve this. Thanks
in advance.
--
cheers
Sumatheja Dasararaju
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
52 matches
Mail list logo