> ## 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.

![](https://mintcdn.com/aseeflow/OpLRJy6TPnBLn55c/img/short-codes/bpmn-send-task.png?fit=max\&auto=format\&n=OpLRJy6TPnBLn55c\&q=85\&s=8a9114cdf1493c7f4149e9a4517c39f7)

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

## ASEE Flow Extensions

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.