Is there any API in drools to create the drl files dynamically by just passing values?

前端 未结 6 1748
鱼传尺愫
鱼传尺愫 2021-02-04 12:47

I know how to create DRL files inside KIE workbench by using all the methods. But what my problem is without using the KIE workbench, can we create the .drl fil

6条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-04 13:38

    The standard tools don't produce DRL files. Instead they encourage you to have templates which are applied to your data at runtime.

    You should take a look at the documentation on Decision Tables (specially structured spreadsheets):

    http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html_single/#d0e4221

    ... and Rule Templates:

    http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html_single/#d0e4969

提交回复
热议问题