This content has been marked as final.
Show 5 replies
-
1. Re: Decision table
sebastian.s Feb 18, 2010 6:08 AM (in response to lauretamisier)AFAIK this is not possible since this is not yet implemented. -
2. Re: Decision table
lauretamisier Feb 19, 2010 4:12 AM (in response to sebastian.s)thanks for your answer !! -
3. Re: Decision table
sebastian.s Feb 19, 2010 4:30 AM (in response to lauretamisier)Just to clarify: It's not possible with the predefined activity but using a java task it should be possible. Maybe you also want to contribute or open a feature request in JIRA. -
4. Re: Decision table
sebastian.s Feb 19, 2010 4:32 AM (in response to sebastian.s)1 of 1 people found this helpfulA quick search with google revealed that there is the possibility to convert a decision table to a .drl-file. So maybe that helps.
-
5. Re: Decision table
lauretamisier Feb 19, 2010 5:51 AM (in response to sebastian.s)In fact i have do it ... transform my decision table to a rule file .. is very simple :
InputStream stream = null;
try {
stream = new FileInputStream(file);
SpreadsheetCompiler sCompiler = new SpreadsheetCompiler();
String drl = sCompiler.compile(stream, InputType.XLS);
File out = new File("toto.drl");
PrintWriter pw = new PrintWriter(out);
pw.append(drl);
pw.close();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}