# How to set "sendSynchronously" on a SendEventTask

**URL:** <https://forum.flowable.org/t/how-to-set-sendsynchronously-on-a-sendeventtask/11859>\
**Category:** Flowable Engine\
**Created:** [October 23, 2024, 12:58pm UTC](https://forum.flowable.org/t/how-to-set-sendsynchronously-on-a-sendeventtask/11859 "2024-10-23T12:58:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReneM](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/renem/32/3235_2.png) [@ReneM](https://forum.flowable.org/u/ReneM)\
**Post date:** [October 23, 2024, 12:58pm UTC](https://forum.flowable.org/t/how-to-set-sendsynchronously-on-a-sendeventtask/11859/1 "2024-10-23T12:58:01Z")

</div>

Hi everyone!  
Big fan of flowable and the workflow with it!

I am using Verison 6.7.2 and want to integrate sending an Event to RabbitMQ via EventRegistry.

For this i use a SendEvent Task and want it to be executed synchronously.  
Disabling the “async” Checkbox does not work though.

I have studied the Code of flowable-engine and have noticed that it checks

sendEventServiceTask.isSendSynchronously()

This parameter is always false, regardless of the async property  
However i could not find out where in the XML i can set this property.

The XML Definition under flowable-bpmn-extensions.xsd does not have a sendsynchronously property.

Hope someone can help me out here!

Thanks in advance  
Rene

---

<div class="post-metadata">

**Author:** ![ReneM](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/renem/32/3235_2.png) [@ReneM](https://forum.flowable.org/u/ReneM)\
**Post date:** [October 23, 2024, 1:22pm UTC](https://forum.flowable.org/t/how-to-set-sendsynchronously-on-a-sendeventtask/11859/2 "2024-10-23T13:22:25Z")

</div>

Nevermind, found it out.  
It has to be declared as extensionElement

```auto
 <serviceTask flowable:type="send-event">
        <extensionElements>
 <flowable:sendSynchronously><![CDATA[true]]></flowable:sendSynchronously>

```
