> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aseeflow.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Task

A Send Task is used to send a message. In ASEE Flow this is done by calling Java code.

The Send Task has the same behavior as a Service Task.

<img src="https://mintcdn.com/aseeflow/OpLRJy6TPnBLn55c/img/short-codes/bpmn-send-task.png?fit=max&auto=format&n=OpLRJy6TPnBLn55c&q=85&s=8a9114cdf1493c7f4149e9a4517c39f7" alt="" width="111" height="105" data-path="img/short-codes/bpmn-send-task.png" />

```xml theme={null}
<sendTask id="sendTask" camunda:class="org.camunda.bpm.MySendTaskDelegate" />
```

## ASEE Flow Extensions

<table class="table table-striped">
  <tr> <th>Attributes</th> <td> [camunda:asyncBefore](/reference/bpmn20/custom-extensions/extension-attributes#asyncbefore), [camunda:asyncAfter](/reference/bpmn20/custom-extensions/extension-attributes#asyncafter), [camunda:class](/reference/bpmn20/custom-extensions/extension-attributes#class), [camunda:delegateExpression](/reference/bpmn20/custom-extensions/extension-attributes#delegateexpression), [camunda:exclusive](/reference/bpmn20/custom-extensions/extension-attributes#exclusive), [camunda:expression](/reference/bpmn20/custom-extensions/extension-attributes#expression), [camunda:jobPriority](/reference/bpmn20/custom-extensions/extension-attributes#jobpriority), [camunda:resultVariable](/reference/bpmn20/custom-extensions/extension-attributes#resultvariable), [camunda:topic](/reference/bpmn20/custom-extensions/extension-attributes#topic), [camunda:type](/reference/bpmn20/custom-extensions/extension-attributes#type), [camunda:taskPriority](/reference/bpmn20/custom-extensions/extension-attributes#taskpriority) </td> </tr>
  <tr> <th>Extension Elements</th> <td> [camunda:failedJobRetryTimeCycle](/reference/bpmn20/custom-extensions/extension-elements#failedjobretrytimecycle), [camunda:field](/reference/bpmn20/custom-extensions/extension-elements#field), [camunda:connector](/reference/bpmn20/custom-extensions/extension-elements#connector), [camunda:inputOutput](/reference/bpmn20/custom-extensions/extension-elements#inputoutput) </td> </tr>
  <tr> <th>Constraints</th> <td> One of the attributes <code>camunda:class</code>, <code>camunda:delegateExpression</code>, <code>camunda:type</code> or <code>camunda:expression</code> is mandatory </td> </tr>
  <tr> <td /> <td> The attribute <code>camunda:resultVariable</code> can only be used in combination with the <code>camunda:expression</code> attribute </td> </tr>
  <tr> <td /> <td> The <code>camunda:exclusive</code> attribute is only evaluated if the attribute <code>camunda:asyncBefore</code> or <code>camunda:asyncAfter</code> is set to <code>true</code> </td> </tr>
  <tr> <td /> <td> The attribute <code>camunda:topic</code> can only be used when the <code>camunda:type</code> attribute is set to <code>external</code>. </td> </tr>
  <tr> <td /> <td> The attribute <code>camunda:taskPriority</code> can only be used when the <code>camunda:type</code> attribute is set to <code>external</code>. </td> </tr>
</table>
