Send Task 发送消息任务
发送任务用于发送消息。在Camunda,这是通过调用Java代码来完成的。
发送任务具有与服务任务相同的行为。

<sendTask id="sendTask" camunda:class="org.camunda.bpm.MySendTaskDelegate" />
Camunda Extensions
| 属性 | camunda:asyncBefore, camunda:asyncAfter, camunda:class, camunda:delegateExpression, camunda:exclusive, camunda:expression, camunda:jobPriority, camunda:resultVariable, camunda:topic, camunda:type, camunda:taskPriority |
|---|---|
| 扩展元素 | camunda:failedJobRetryTimeCycle, camunda:field, camunda:connector, camunda:inputOutput |
| 约束 |
One of the attributes camunda:class, camunda:delegateExpression,
camunda:type or camunda:expression is mandatory
|
The attribute camunda:resultVariable can only be used in combination with the
camunda:expression attribute
|
|
The camunda:exclusive attribute is only evaluated if the attribute
camunda:asyncBefore or camunda:asyncAfter is set to true
|
|
The attribute camunda:topic can only be used when the camunda:type attribute is set to external.
|
|
The attribute camunda:taskPriority can only be used when the camunda:type attribute is set to external.
|