Concatenate workflow variables to build CorrelationId



I’m currently able to use catch events in Zeebe to catch messages using a variable declared as CorrelationKey.
To do so, if i have an OrderId variable declared in my workflow, i just use OrderId as CorrelationKey and it work perfectly when i receive a message with CorrelationKey = 12345

Now, if I have 2 variables OrderId and Country in my workflow and I receive a message having “Order=12345&Country=US” as a correlation Id, is it possible to build a CorrelationKey like “Order=OrderId&Country=Country” in the modeler ? What is the appropriate syntaxe to use?



Not at the moment. You would need to concatenate them as strings manually and set a OrderIdCountryMashup key.