pefernan commented on code in PR #4146:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4146#discussion_r2763017278
##########
jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/WorkflowProcessInstanceImpl.java:
##########
@@ -1000,7 +1000,7 @@ private void removeEventListeners() {
@Override
public String[] getEventTypes() {
- return
externalEventListeners.keySet().stream().map(this::resolveVariable).collect(Collectors.toList()).toArray(new
String[externalEventListeners.size()]);
Review Comment:
Maybe checking if the event type is a variable like we do here with
'isVariableExpression'
https://github.com/apache/incubator-kie-kogito-runtimes/blob/main/jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/WorkflowProcessInstanceImpl.java#L642-L644?
--
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]