Send Task & Message Correlation

Hey everyone!
When using Camunda 7 Community edition as a standalone platform, right now it appears the only way to send a message is via a script using the RuntimeService().createMessageCorrelation() API.

Is there a diagramatic way to use the Send Task activity, and configure it with my Correlation?

Adding a Send Task, does not really open up any special sections in the Properties Panel.
image

Just the same things we see when adding a ‘service task’.

Atleast, the intermediate event has a “Message” section added but that does not have a way define correlation either, so please share any details on how this can be done.

Hello my friend!

I believe that there is no other way to do this at this moment, because as Camunda’s own documentation informs, this element has the same behavior as a “Service task”, and therefore, they must be treated in the same way.

I hope this helps.

William Robert Alves

1 Like

Great answer, thanks for sharing that @WilliamR.Alves. I will submit a feature request. It would be nice to set it up from the properties panel instead of chaining five methods in a script that won’t ever fit in one line. Also visually it’s easier to understand a diagram that has a send task.

Right now we use a send task, and write the script with Implementation Type = “expression” for the visual readability.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.