cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger multiple message intermediate events

natedawg
Champ in-the-making
Champ in-the-making
Hi


I have multiple processes sometimes waiting for the same message (message intermediate events). Is there a possibility via REST API to post a single REST call and trigger all of them? I saw examples of posting a PUT that triggers a single event like this:


PUT http://localhost:8080/activiti-rest/service/runtime/executions/377508
{
  "action":"messageEventReceived",
  "messageName":"DsReply",
  "variables": [  ]
}


Kind regards
A.H.
4 REPLIES 4

jbarrez
Star Contributor
Star Contributor
No, unless you add that REST call yourself … it's not there out of the box.

natedawg
Champ in-the-making
Champ in-the-making
Thx for the answer.

Kr
A.H.

natedawg
Champ in-the-making
Champ in-the-making
Just a followup question,

Is there a possibility to accomplish similar behavior ("message broadcasting") by using java?

Kind regards
A.H.

jbarrez
Star Contributor
Star Contributor
If you write your own command (maybe with some custom queries), it is. But I don't think it's available out of the box.