# Event Send/Receive Tasks in Flowable 6.6

**URL:** <https://forum.flowable.org/t/event-send-receive-tasks-in-flowable-6-6/7074>\
**Category:** Flowable Engine\
**Created:** [November 13, 2020, 7:34pm UTC](https://forum.flowable.org/t/event-send-receive-tasks-in-flowable-6-6/7074 "2020-11-13T19:34:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff.gehly](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@jeff.gehly](https://forum.flowable.org/u/jeff.gehly)\
**Post date:** [November 13, 2020, 7:34pm UTC](https://forum.flowable.org/t/event-send-receive-tasks-in-flowable-6-6/7074/1 "2020-11-13T19:34:13Z")

</div>

So the 6.6 release has come and with it there’s supposed to be an internalized event framework. What’s the method by which this is utilized? This is related to another post I have, but slightly different because I’ve spent the day digging though docs looking for examples of internal events and all I can find are examples using JMS/RabbitMQ/Kafka.

I tried to make a basic send event task but it looks like if I leave out the messaging queue I will get no where fast. So how do I get one workflow to send signals to multiple others (think a precision broadcast, where as long as I have some kind of correlation ID I can either respond to or ignore the event)?

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [November 16, 2020, 8:51pm UTC](https://forum.flowable.org/t/event-send-receive-tasks-in-flowable-6-6/7074/2 "2020-11-16T20:51:12Z")

</div>

There’s examples with internal events in the unit tests in the repo, e.g. [flowable-engine/modules/flowable-engine/src/test/java/org/flowable/engine/test/eventregistry/SendInternalEventTaskTest.java at main · flowable/flowable-engine · GitHub](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-engine/src/test/java/org/flowable/engine/test/eventregistry/SendInternalEventTaskTest.java)

> [@jeff.gehly](#):
>
> So how do I get one workflow to send signals to multiple others (think a precision broadcast, where as long as I have some kind of correlation ID I can either respond to or ignore the event)?

Signals don’t have this mechanism, this will have to be build into the processing of the signal event in the process itself (which is something events indeed have out of the box).

---

<div class="post-metadata">

**Author:** ![jeff.gehly](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@jeff.gehly](https://forum.flowable.org/u/jeff.gehly)\
**Post date:** [November 17, 2020, 9:47pm UTC](https://forum.flowable.org/t/event-send-receive-tasks-in-flowable-6-6/7074/3 "2020-11-17T21:47:57Z")

</div>

So the example BPMN files I pulled looked like they were what I needed to see, but when I bring the samples into the modeler and try to validate them, I’m getting errors that I need to set the output channel. It’s not just the modeler validation that throws this error, too. When I try to publish the app so I can see these workflows talking to each other, I’m getting an error when it tries to publish. Here’s the stack trace:

2020-11-17 16:45:36.971 ERROR 15508 — [nio-8080-exec-5] o.f.e.i.b.d.ParsedDeploymentBuilder : Could not parse resource sendEvent.bpmn

org.flowable.common.engine.api.FlowableException: Errors while parsing:  
[Validation set: ‘flowable-executable-process’ | Problem: ‘flowable-sendeventtask-no-outbound-channel’] : No outbound channel set on the send event task - [Extra info : processDefinitionId = sendEvent | processDefinitionName = sendEvent | | id = sendEventTask | | activityName = Send Task Event |] ( line: 8, column: 87)

```
    at org.flowable.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:177) ~[flowable-engine-6.6.0.jar:6.6.0]

```

I can’t understand what I’m missing, because this was just pulling the BPMN file from the unit test, importing it into the modeler, and trying to run it so I can see how events are sent and received.

---

<div class="post-metadata">

**Author:** ![yogishs](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yogishs/32/2533_2.png) [@yogishs](https://forum.flowable.org/u/yogishs)\
**Post date:** [August 15, 2021, 6:10pm UTC](https://forum.flowable.org/t/event-send-receive-tasks-in-flowable-6-6/7074/4 "2021-08-15T18:10:43Z")

</div>

I had this problem as well with the sendEventRegistyEvent. To overcome it I had to add the channelKey tag explicitly to my bpmn file

```auto
<flowable:channelKey xmlns:flowable="http://flowable.org/bpmn"><![CDATA[sentimentAnalysisOutboundChannel]]></flowable:channelKey>

```
