pefernan commented on code in PR #4303:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4303#discussion_r3413907367


##########
kogito-codegen-modules/kogito-codegen-processes/src/main/java/org/kie/kogito/codegen/process/ProcessCodegen.java:
##########
@@ -187,6 +187,29 @@ private static void 
notifySourceFileCodegenBindListeners(KogitoBuildContext cont
                 .ifPresent(notifier -> processes.forEach(p -> 
notifier.notify(new SourceFileCodegenBindEvent(p.getId(), 
resource.getSourcePath()))));
     }
 
+    /**
+     * Injects recordArgs metadata into a process if the global property is 
enabled.
+     * This allows the global property 
kogito.processes.service-tasks.record-io to control
+     * input/output argument recording for all service tasks in the process.
+     */
+    private void injectRecordArgsMetadataIfNeeded(WorkflowProcess process) {
+        final String recordServiceTaskArgsProperty = 
"kogito.processes.service-tasks.record-io";

Review Comment:
   @josedee Considering the changes that are coming, maybe adding a static 
string would be better with some javadoc. 



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