Copilot commented on code in PR #4600:
URL:
https://github.com/apache/incubator-kie-docs/pull/4600#discussion_r4119816495
##########
drools-docs/src/modules/ROOT/pages/rule-engine/_phreak-sequential-mode-con.adoc:
##########
@@ -50,35 +50,13 @@ KieBase kieBase = kieContainer.newKieBase(kieBaseConf);
</kmodule>
----
-To configure sequential mode to use a dynamic agenda, use one of the following
options:
-
-* Set the system property `drools.sequential.agenda` to `dynamic`.
-* Set the sequential agenda option while creating the KIE base
programmatically:
-+
-[source,java]
-----
-KieServices ks = KieServices.Factory.get();
-KieBaseConfiguration kieBaseConf = ks.newKieBaseConfiguration();
-kieBaseConf.setOption(SequentialAgendaOption.DYNAMIC);
-KieBase kieBase = kieContainer.newKieBase(kieBaseConf);
-----
-
When you enable sequential mode, the {RULE_ENGINE} evaluates rules in the
following way:
Review Comment:
The deleted block also removed documentation for
`drools.sequential.agenda=dynamic` and `SequentialAgendaOption.DYNAMIC`. This
remains a supported configuration option in the current API, so users who need
the dynamic sequential agenda can no longer discover how to enable it from this
guide. Please retain a concise configuration note for this option while
removing the stale internal execution details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]