这是我们现在正在使用的示例规则(类似) Version1.PNG当转换为drl时,这将为我们提供以下193行长的drl文件. (版本1.drl)可以,并且运行良好,但是经过一些研究,我们发现可以在drl中使用扩展"功能.它可以在drl中工作,我想知道如何在Excel电子表格中使用它?我以这种方式设计了规则:Version2.PNG显然,这不是在Excel中应使用扩展"的方式,因为这会返回以下drl(Version2.drl)您可以看到扩展名位于规则名称的"内.我想这是有道理的,但是我想知道的是,我将如何正确使用它?一个单独的列?那是行不通的,至少不是我这样做的方式.有人知道应该怎么做吗?在转换Excel之后应正确创建的DRL是:(Version3desired.drl)谢谢您的帮助:)干杯!解决方案以扩展方式在电子表格中使用扩展方式并没有任何好处.我建议您坚持使用Version1.png中显示的电子表格布局.如果数据输入人员抱怨1/7/30行重复无聊,请教他们如何连接单元格,这样他们只需要键入一次即可.I have a question about using a certian drools functionality in drools decision spreadsheet, that would help a lot in reducing the files and making them more readable.I can't add more than two links so please downlad this .zip file that includes:Version1.PNG, Version1.drl, Version2.PNG, Version2.drl, Version3desired.drlhttp://s000.tinyupload.com/?file_id=89653236807266194978So here is the sample rule that we are using right now (something similar)Version1.PNGAnd this when converted to a drl gives us the following 193 line long drl file. (Version1.drl)It is ok and it works well, but after some research we found out we could use the "extends" functionality in drl.And it works in a drl, what I would like to know is how would I use it in an Excel spreadsheet?I designed the rule in this way: Version2.PNGClearly this is not how "extends" should be used in Excel, since this returns the following drl (Version2.drl)You can see the extends is inside the "" of the rule name. Makes sense I guess, what I woudl like to know however is, how would I use it correctly? a seperate column? That didn't work, at least not the way I did it.Does anyone know how It should be done?The correct DRL that should be made after the Excel is converted is this: (Version3desired.drl)Thank you for any help :)Cheers! 解决方案 There is no gain in using extends with spreadsheets in the way you describe it in your question.I suggest that you stick to the spreadsheet layout shown in Version1.png. If data entry personnel complains about the dull repetition of 1/7/30 in oodles of rows, teach them how to join cells so they need to type each value only once. 这篇关于使用“扩展"功能可以在以下情况中使用“扩展".流口水电子表格中的功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 06-29 03:42