This is an automated email from the ASF dual-hosted git repository.
mariofusco pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git
The following commit(s) were added to refs/heads/main by this push:
new 1f20b7f2dd [DROOLS-7616][DROOLS-7617] minor documentation fixes (#5809)
1f20b7f2dd is described below
commit 1f20b7f2dd214b99a25f00ef294ddcd2996ec82e
Author: Mario Fusco <[email protected]>
AuthorDate: Thu Mar 28 08:01:35 2024 +0100
[DROOLS-7616][DROOLS-7617] minor documentation fixes (#5809)
---
.../_drl-declarations-enumerative-con.adoc | 2 +-
drools-docs/src/modules/ROOT/pages/language-reference/_drl-rules.adoc | 2 +-
.../src/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 d1dc314537..9300b67e0c 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 33aa0bd014..7c06016c2d 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 b4e4670801..5eb5d043fc 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]