SoniyaAbraham89 opened a new issue, #2399:
URL: https://github.com/apache/incubator-kie-issues/issues/2399

   When using an `Intermediate Message Catch Event` with `message correlation`, 
a process variable configured as the correlation key is correctly populated and 
stored as a String within the process instance. However, during correlation 
evaluation, the process-side correlation value is internally handled as an 
Object[] instead of a String.
   
   As a result, even though the actual correlation value on the process side 
matches the value contained in the incoming message, the correlation comparison 
fails because of the type mismatch (String vs. Object[]). Consequently, the 
intermediate message is not correlated to the waiting process instance and the 
event is not triggered.
   
   The observed behavior suggests that the correlation value is being 
transformed or represented internally as an Object[] during correlation 
evaluation.
   
   When this workflow is executed, the following log entry is observed:
   
   `c11-3x604mg8yl0 /usr/lib/jvm/java-17-openjdk-amd64/bin/java[11820] DEBUG 
[org.jbp.pro.cor.eve.EventTypeFilter] (executor-thread-1) The event type 
Message-TransitionTask_incoming is correlated, computing correlations. Message 
correlation is CorrelationInstance [id=correlation1, name=correlation1, 
properties={correlation1=20260511163833913}]; process correlation is: 
CorrelationInstance [id=correlation1, name=correlation1, 
properties={correlation1=[Ljava.lang.Object;;@7e90771a}]`


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