H็ow to define Drools Rule attributes within SyntheticRuleUnitBuilder

38 views
Skip to first unread message

Nont Banditwong

unread,
Jan 27, 2025, 9:02:39 AMJan 27
to Drools Usage

Hi everyone,

I'm currently learning how to use Drools DSL and I'm trying to figure out how to define Drools Rule attributes such as salience and activation-group within a Drools SyntheticRuleUnitBuilder.

I've been looking at the SyntheticRuleUnitsTest (https://github.com/apache/incubator-kie-drools/blob/main/drools-ruleunits/drools-ruleunits-dsl/src/test/java/org/drools/ruleunits/dsl/SyntheticRuleUnitsTest.java) but I haven't been able to find any examples of how to do this.

Could someone please provide some guidance on how to achieve this?

Thanks in advance for your help!

Best regards,

Nont

Toshiya Kobayashi

unread,
Jan 28, 2025, 10:39:46 PMJan 28
to Drools Usage
Hi Nont,

Indeed, it's not yet implemented. I filed a GH issue.


Regards,
Toshiya

2025年1月27日月曜日 23:02:39 UTC+9 nont...@gmail.com:

Nont Banditwong

unread,
Jan 29, 2025, 9:49:30 PMJan 29
to Drools Usage

Hi Toshiya,

Thank you for your quick response and for filing the GitHub issue! I appreciate you taking the time to look into this.

I'll follow the issue and hopefully this feature will be available soon.

Thanks again, Nont

Reply all
Reply to author
Forward
0 new messages