elguardian commented on code in PR #3740:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3740#discussion_r1810377244


##########
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:
   unfortunately we set the transaction in global application.properties and 
not in the bpmn.



-- 
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]

Reply via email to