may help you . Avoid the quotes Excel provides by default. You have them around the string in the println call: LEFT DOUBLE QUOTATION MARK, U+201C RIGHT DOUBLE QUOTATION MARK, U+201D if I type these keystrokes into an Excel cell: 'A' ' ' 's' ... ':' ' ' '"' 'o' ... 'e' 'e' '"' I'll see this:
wish helps you Drools provides a way to solve this problem (selecting only first matching row) by defining an activation groups in decision table rule set. Your workaround, maxrules=1, might work only if you want to use drools decision table as lookup table. In this scenario since only one rule can be fired, using drools has no advantage over using a classical database lookup table, it just adds complexity.
drools: access objects in drools excel decision table
this will help Your code just do not make sense to me. One of the major problems is, after you have created the StatefulKnowledgeSession, you have not insert any object in the session. Without anything in the session, I doubt anything Drool can do. Try to do something like :
session.insert(name); // Important! Drools need the objects to work on
// inserted to session
will help you This is not possible. The decision table parser makes firm assumptions about what to expect in the header where a pattern with parentheses is a sort of "landmark" into which values from the column below are to be inserted.
Error converting xls decision table to decision table in BRMS workbench
fixed the issue. Will look into that further This is a bug as of now. I spoke with several Red Hat folks directly and these might be fixed in future versions. I am going to raise a feature request soon.