Skip to content

Commit

Permalink
[DROOLS-7616][DROOLS-7617] minor documentation fixes (apache#5809)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofusco authored and rgdoliveira committed Apr 16, 2024
1 parent f1ca146 commit d02a041
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ end
rule "Using a declared Enum"
when
$emp : Employee( dayOff == DaysOfWeek.MONDAY )
$emp : Employee( dayOff == DaysOfWeek.MON )
then
...
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ end
rule "Using a declared Enum"
when
$emp : /employees[ dayOff == DaysOfWeek.MONDAY ]
$emp : /employees[ dayOff == DaysOfWeek.MON ]
then
...
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d02a041

Please sign in to comment.