CAM-2702 - I can correlate a message by local execution variable - How does this work

I noticed this feature in the changelog of 7.7 https://app.camunda.com/jira/browse/CAM-2702.
However, I did not find it in the correlation documentation. How is this supposed to work? can I make a message receive intermediate behave like a conditional event by correlating it to the state of a variable? Or does this merely mean that my message correlation name is dynamic? Thanks for clarification!

Hello,

You can refer to https://docs.camunda.org/manual/7.7/reference/bpmn20/events/message-events/#using-the-runtime-service-s-correlation-methods

…message correlation builder provides the possibility to correlate the message by local execution variables…

Best regards,
Yana

Thanks for the answer, To be more precise, it’s documented here: https://docs.camunda.org/manual/7.7/reference/bpmn20/events/message-events/#expressions

So you can have dynamic message names based on variables, but not substitute conditional with message events.
Got it.

Still usefull, I suppose.