martinweiler commented on code in PR #3740:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3740#discussion_r1809373440
##########
kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java:
##########
@@ -293,6 +295,9 @@ protected Collection<GeneratedFile> internalGenerate() {
// first we generate all the data classes from variable declarations
for (WorkflowProcess workFlowProcess : processes.values()) {
+ if (isTransactionEnabled(this, context())) {
+ ((WorkflowProcessImpl)
workFlowProcess).setMetaData(WorkflowProcessParameters.WORKFLOW_PARAM_TRANSACTIONS.getName(),
"true");
+ }
Review Comment:
Wouldn't something similar be needed for
`WORKFLOW_PARAM_MULTIPLE_CONNECTIONS` to read the property from
applications.properties and set it in the process metadata?
--
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]