# \[External task\] throw message from Java External Task

**URL:** <https://forum.camunda.io/t/external-task-throw-message-from-java-external-task/18266>\
**Category:** Discussion & Questions\
**Tags:** process-engine\
**Created:** [February 27, 2020, 11:09am UTC](https://forum.camunda.io/t/external-task-throw-message-from-java-external-task/18266 "2020-02-27T11:09:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![slb](https://forum.camunda.io/user_avatar/forum.camunda.io/slb/32/8971_2.png) [@slb](https://forum.camunda.io/u/slb)\
**Post date:** [February 27, 2020, 11:09am UTC](https://forum.camunda.io/t/external-task-throw-message-from-java-external-task/18266/1 "2020-02-27T11:09:03Z")

</div>

Hello,

I want to signal message to continue a process that waiting for message, I know that this is possible with the Java Service Task, just use the runtimeService to send the message, but in External-Task Scope we could not instancify runtimeService and I generally use the _ExternalTaskService_ to handles events to the next process. But in this interface I could not find a way to throw message.

Is that possible in ExternalTaskService?

I Prefer continue using **Java** External Task Service than Java Service Task, because it works independently.

Thanks.

---

<div class="post-metadata">

**Author:** ![Niall](https://forum.camunda.io/user_avatar/forum.camunda.io/niall/32/15333_2.png) [@Niall](https://forum.camunda.io/u/Niall)\
**Post date:** [February 27, 2020, 1:47pm UTC](https://forum.camunda.io/t/external-task-throw-message-from-java-external-task/18266/2 "2020-02-27T13:47:24Z")

</div>

You could send a message to the engine [via the REST API](https://docs.camunda.org/manual/latest/reference/rest/message/post-message/) from your external task.

---

<div class="post-metadata">

**Author:** ![slb](https://forum.camunda.io/user_avatar/forum.camunda.io/slb/32/8971_2.png) [@slb](https://forum.camunda.io/u/slb)\
**Post date:** [February 27, 2020, 6:20pm UTC](https://forum.camunda.io/t/external-task-throw-message-from-java-external-task/18266/3 "2020-02-27T18:20:45Z")

</div>

Hello,

Thank you for response. Yes it is possible.

It is not possible from External Task. ?

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [January 30, 2024, 12:14pm UTC](https://forum.camunda.io/t/external-task-throw-message-from-java-external-task/18266/4 "2024-01-30T12:14:08Z")

</div>

Closed on January 30, 2024, 12:14pm UTC


