The same principle applies, but instead of inserting a single SSN container,
you insert a generic parameters container:-
rule rule 1
when
Parameters( rule == rule 1, $ssn : ssn, $citizenship : citizenship )
Person( ssn = $ssn, citizenship == $citizenship )
then
If your
As an alternative, use different classes for the parameter containers. There
could be one called Ssn (just ssn), one SsnCitizen, etc.
SsnCitizen( $ssn : ssn, $citizenship : citizenship )
Person( ssn = $ssn, citizenship == $citizenship )
Be careful, though, and DO NOT make SsnCitizen a
Hi,
I have a problem when i compile a spreadsheet into a PKG. Hope you can
help me.
(Bevor this i used Guvnor to create a PKG from Spreadsheet, but i decide to
do this by my own)
The question is, how do I add this class to the package builder?
This is my Programm:
public static void
Hi again,
Anyone? It would be nice to get a confirmation that migration of persisted
session/processes is not possible when upgrading Drools.
Thank you!
Best regards,
Michal
--
View this message in context:
Did you import KundenEntscheidung into the spreadsheet?
Can you import and use the class in a simple handcoded DRL?
-W
On 20 October 2011 11:42, DerLonG longbo...@gmx.de wrote:
Hi,
I have a problem when i compile a spreadsheet into a PKG. Hope you can
help me.
(Bevor this i used Guvnor to
There is code in Drools where package contents are heavily modified, viz.
in the Resource Change Monitor. Therefore, your plan to remove the rules
(and the package) from DRL #1 to clean the slate for DRL #2 which is
written using the same package name, should not cause any problems.
-W
On 19
I imported the class in my DRL with the following lines:
import de.test.xml.KundenEntscheidung;
global KundenEntscheidung dieKundenEntscheidung;
But i can't use it in a simple hand coded DRL :( ...
How can i generate the DRL from the class file?
--
View this message in context:
On 20 October 2011 11:58, DerLonG longbo...@gmx.de wrote:
I imported the class in my DRL with the following lines:
import de.test.xml.KundenEntscheidung;
global KundenEntscheidung dieKundenEntscheidung;
But i can't use it in a simple hand coded DRL :( ...
If you can't import it with a DRL
Yes, i have to import the Java class file.
Sorry, I forgot to mention that.
--
View this message in context:
http://drools.46999.n3.nabble.com/Problem-in-adding-a-Class-to-PKG-tp3437199p3437252.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
Hi Michal,
I'm not aware of any changes.. but we need to check with mark and kris for
the timers stuff that now are being persisted.
My gut feeling is that usually if you are playing with binaries it's very
difficult to keep that compatible with old versions. Also you mention that
you are moving
Hi,
I required some information whether jBPM supports BPEL. I searched and
found something regarding its use in jBPM v3.x. But got nothing regarding
BPEL for versions 4.x and 5.x. Is jBPM compatible with BPEL or is there
anyway to have BPEL functionality with jBPM.
jBPM creates the process
Hello,
Anyone out there who has come across the above issue?
Regards,
Praveen.
--
View this message in context:
http://drools.46999.n3.nabble.com/Help-needed-how-to-get-Number-and-intValue-in-Guvnor-tp3430730p3437459.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
Hi
1.My Requirement is a System of High Transactions/Second(in 1000's Range).
Is it good to implement that in drools
2.if i use drl in such a way that the in the then part complex operations
are done by calling a java function. is this method good?
--
View this message in context:
Hi rahulkrishnan,
Drools will do a good job in matching the objects for those transactions,
but my usual answer to this kind of questions is:
do you already have those 1000/s objects in memory inside your system?
because depending on the type of objects that you want to handle is if you
can
jBPM5 is focused on the standard BPMN 2.0 that is being adopted by most of
the BPM vendors.
jPDL was a proprietary language and for that reason it will be left in the
future.
Cheers
On Thu, Oct 20, 2011 at 8:57 AM, Sumeet Karawal sumeet.kara...@tcs.comwrote:
Hi,
I required some information
Hello,
I'd like to set global rules variables at the top of a rules file, like so:
global int WELCOME_SCREEN = 1;
so that I may easily refer to them from inside the rules, instead of
hardcoding them somewhere in code. Is this possible?
Best regards,
Martin
Not as far as I know, but it has been asked before.
Interestingly, you can initialize the value of declared facts' fields... and
this doesn't appear a million miles away.
Scotty? Mark? JIRA?
2011/10/20 Martin A wml...@gmail.com
Hello,
I'd like to set global rules variables at the top of a
Here is an article on MVEL integration that I and mike wrote:
http://www.theserverside.com/feature/Adding-MVEL-to-the-Java-Developers-Toolkit
Mark
___
rules-users mailing list
rules-users@lists.jboss.org
I'm not sure your answer directly addresses the question. BPMN and BPEL
aren't the same thing - BPMN is an unstructured diagramming notation that an
be directly executed from within Drools, where as BPEL is a semi-structured
language. While most BPMN flows can be translated to BPEL, not
Hello,
I'm having trouble using sliding length windows. Either I'm implementing
them wrong or I have misunderstood how they're supposed to work.
I have a class named Notif:
*public class Notif implements Serializable{
...
private String specificProblem;
...
public String
You can do this by setting the global from a high salience rule from within
your DRL. Leave the conition empty - such a rule only fires once.
-W
2011/10/20 Martin A wml...@gmail.com
Hello,
I'd like to set global rules variables at the top of a rules file, like so:
global int WELCOME_SCREEN
On 20/10/2011 12:49, Mauricio Salatino wrote:
Hi Michal,
I'm not aware of any changes.. but we need to check with mark and kris
for the timers stuff that now are being persisted.
My gut feeling is that usually if you are playing with binaries it's
very difficult to keep that compatible with
I have a rules server that will handle executing different flows as requests
come in. For each thread, the following snippet is used:
final KnowledgeBuilder builder =
KnowledgeBuilderFactory.newKnowledgeBuilder();
final Resource resource =
ResourceFactory.newClassPathResource(bpmnFile,
public static void main(final String[] args)
{
// --
// Read the resources once just to confirm that they are correct.
System.out.println(Before First Read...);
readResource(simple-one.bpmn);
2011/10/19 Geoffrey De Smet ge0ffrey.s...@gmail.com
**
Op 19-10-11 15:00, Guilherme Kunigami schreef:
In this use case, that is probably a bad idea in my experience. Why? Well
I hope this makes any sense:
*You need to allow the optimization algorithms to break it now and then
to tunnel
Is it possible to export a decision table to excel or csv ? If yes, could
someone tell me how (using v 5.2)
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-Decision-Table-tp3439636p3439636.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
26 matches
Mail list logo