From af1b288f40c6343c3080ee6fbdf56d941c1ec41e Mon Sep 17 00:00:00 2001 From: mariofusco Date: Wed, 27 Mar 2024 16:42:25 +0100 Subject: [PATCH] [DROOLS-7616][DROOLS-7617] minor documentation fixes --- .../_drl-declarations-enumerative-con.adoc | 2 +- .../src/modules/ROOT/pages/language-reference/_drl-rules.adoc | 2 +- .../modules/ROOT/pages/rule-engine/_execution-control-con.adoc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drools-docs/src/modules/ROOT/pages/language-reference-traditional/_drl-declarations-enumerative-con.adoc b/drools-docs/src/modules/ROOT/pages/language-reference-traditional/_drl-declarations-enumerative-con.adoc index d1dc314537f..9300b67e0c4 100644 --- a/drools-docs/src/modules/ROOT/pages/language-reference-traditional/_drl-declarations-enumerative-con.adoc +++ b/drools-docs/src/modules/ROOT/pages/language-reference-traditional/_drl-declarations-enumerative-con.adoc @@ -16,7 +16,7 @@ end rule "Using a declared Enum" when - $emp : Employee( dayOff == DaysOfWeek.MONDAY ) + $emp : Employee( dayOff == DaysOfWeek.MON ) then ... end diff --git a/drools-docs/src/modules/ROOT/pages/language-reference/_drl-rules.adoc b/drools-docs/src/modules/ROOT/pages/language-reference/_drl-rules.adoc index 33aa0bd0147..7c06016c2dd 100644 --- a/drools-docs/src/modules/ROOT/pages/language-reference/_drl-rules.adoc +++ b/drools-docs/src/modules/ROOT/pages/language-reference/_drl-rules.adoc @@ -379,7 +379,7 @@ end rule "Using a declared Enum" when - $emp : /employees[ dayOff == DaysOfWeek.MONDAY ] + $emp : /employees[ dayOff == DaysOfWeek.MON ] then ... end diff --git a/drools-docs/src/modules/ROOT/pages/rule-engine/_execution-control-con.adoc b/drools-docs/src/modules/ROOT/pages/rule-engine/_execution-control-con.adoc index b4e4670801d..5eb5d043fc9 100644 --- a/drools-docs/src/modules/ROOT/pages/rule-engine/_execution-control-con.adoc +++ b/drools-docs/src/modules/ROOT/pages/rule-engine/_execution-control-con.adoc @@ -87,7 +87,7 @@ then end ---- -For this example, the rules in the `"report"` agenda group must always be executed first and the rules in the `"calculation"` agenda group must always be executed second. Any remaining rules in other agenda groups can then be executed. Therefore, the `"report"` and `"calculation"` groups must receive the focus to be executed in that order, before other rules can be executed: +For this example, the rules in the `"calculation"` agenda group must always be executed first and the rules in the `"report"` agenda group must always be executed second. Any remaining rules in other agenda groups can then be executed. Therefore, the `"report"` and `"calculation"` groups must receive the focus to be executed in reverse order (due to the fact that the agenda groups are placed on a stack), before other rules can be executed: .Set the focus for the order of agenda group execution [source,java]