Hellow,
I also a new with Drools Planner ... how I can try the examples on my
eclipse?
--
View this message in context:
http://drools.46999.n3.nabble.com/DROOLS-PLANNER-getting-started-tp3030567p3375541.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
@wolfgang
Yesterday you told me to use accumulate instead of collect.
But i could not find the right way to use accumulate here.
Please see below my rules when condition [ collect function(Bold Italic) ]
and please tell me how can i use accumulate there. If possible change the
conditional
Either create a new eclipse project from the directory examples/sources
(from the download zip) and add the jars from the binaries directory
(not the examples/binaries directory!)
Or install the m2eclipse plugin and open the examples/sources/pom.xml
(from the download zip).
Afterwards, just
Here is an example:
$av: List() from accumulate ( $a: Alarm( ...select interesting alarms... ),
init( ListAlarm alarms = new ArrayListAlarm(); )
action( alarms.add($a); )
reverse( alarms.remove($a); )
Hi Wolfgang,
The below code which you wrote is very appropriate but where should we
mention on which collection we are traversing the conditions on .
Like in collect
$alarms : ArrayList(size0) from collect ( Alarm( .. ) from
av.getAlarms() )
Thanks Regards,
Hari Kishan T
The below code which you wrote is very appropriate but where should we
mention on which collection we are traversing the conditions on .
Like in collect
$alarms : ArrayList(size0) from collect ( Alarm( .. ) from
av.getAlarms() )
--
Same place:
accumulate ( Alarm( ... ) from , init(...),... )
-W
2011/9/28 HariKishan harikishan.tamm...@pass-consulting.com
**
Hi Wolfgang,
** **
The below code which you wrote is very appropriate but where should we
mention on which collection we are traversing the
Done the same way using accumulate ... but still the exception is thrown.
May be the Frequency of Exception occurring is reduced.
But this time it is occurring from the Accumulate Node.
Some times the Rules Execution is continuing even after the Exception.
Some times the Exception keeps on
rhs part worked ok now..
I am facing one more issue with calling a method in lhs of the rule ..
When I call a method as mentioned below ('getValue' is the method in class
'customObject' and 'numberofObjects' is method in class 'AnotherObject') ;
the drl file has problems in saving in eclipse.
Hi,
Thank you for your reply. I will use the Knowledge API going forward.
Can you please explain what you mean by deviate from the constraint syntax
as defined with 5.1.1? What's an example of 5.1.1 syntax, and what's an
example of a deviation?
-Matt
On Tue, Sep 27, 2011 at 5:12 AM, laune [via
2011/9/28 matvey1414 matvey1...@gmail.com
Hi,
Thank you for your reply. I will use the Knowledge API going forward.
Can you please explain what you mean by deviate from the constraint syntax
as defined with 5.1.1? What's an example of 5.1.1 syntax,
For a complete picture, get the Expert
I have a following need:
We are maintaining all rules in GUVNOR.
We need to run a weekly report displaying all the Rules and there related
information like change history.
Qs: How can I access the GUVNOR repository to get this information. If
anyone can please help.
Thanks
--
View this
I have created DateUtils.java and have all the date functions as part of
that. Import that in Guvnor and use it.
I think you can create functions in Guvnor and use that.
Hope this helps.
--
View this message in context:
Have a look at the REST API documented in the user guide.
I suspect you'll be able to get a list of packages, and for each a list of
assets.
On 28 September 2011 17:59, sanjuk72 sank1...@yahoo.com wrote:
I have a following need:
We are maintaining all rules in GUVNOR.
We need to run a
Yes you can do all that (but don't know about getting history infos). A
old post from Jervis Liu linked to more info on REST API here
http://blog.athico.com/2011/03/atompub-interface-for-guvnor.html and
http://community.jboss.org/wiki/AtomPubinterfaceforGuvnor
But you may start by using the
I am sending a batchexecution command to a drools server:
8...
MyBean mb = new MyBean();
ListCommand cmds = new ArrayListCommand();
InsertObjectCommand insertCmd = (InsertObjectCommand)
CommandFactory.newInsert(mb);
insertCmd.setOutIdentifier(inserter);
insertCmd.setEntryPoint(Default);
Hi,
I'm using jbpm-flow-5.2.0-SNAPSHOT.jar and got a *ClassCastException *below
with the following Drools flow snippet. I've tried mvel dialet as well and
got the same error.
*
.splitNode(1010).type(Split.TYPE_XOR).name(splitOnShouldActivate)
Figured it out. In case anyone else sees this, the issue was that the bean
that I was sending to the Drools server had a logger property, which
XStream was trying to serialize. I didn't want to do a
myBean.setLogger(null) because I wanted to actually do some logging in the
bean. So, the
Hi,
We are using a single (Drools 5.1.1) Stateless Sessions for the parallel
processing of thousands of facts.
From time to time we experienced the following error :
org.drools.runtime.rule.ConsequenceException: rule: Priorite - Groupe:
TMK2612G01, P10
at
On 2011/9/29 2:07, Vincent Legendre wrote:
Yes you can do all that (but don't know about getting history infos).
A old post from Jervis Liu linked to more info on REST API here
http://blog.athico.com/2011/03/atompub-interface-for-guvnor.html and
20 matches
Mail list logo