# Calling signal methods on completed workflows

**URL:** <https://community.temporal.io/t/calling-signal-methods-on-completed-workflows/4063>\
**Category:** Community Support\
**Tags:** signals\
**Created:** [February 23, 2022, 2:30pm UTC](https://community.temporal.io/t/calling-signal-methods-on-completed-workflows/4063 "2022-02-23T14:30:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiru](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@thiru](https://community.temporal.io/u/thiru)\
**Post date:** [February 23, 2022, 2:30pm UTC](https://community.temporal.io/t/calling-signal-methods-on-completed-workflows/4063/1 "2022-02-23T14:30:30Z")

</div>

What is the behavior when a signal method is called on a workflow that is already complete?  
i assume the signal methods are supposed to be called to send data to a workflow that is in execution. But if the workflow is already complete, will the framework throw any exception?

---

<div class="post-metadata">

**Author:** ![tihomir](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/tihomir/32/6580_2.png) [@tihomir](https://community.temporal.io/u/tihomir)\
**Post date:** [February 23, 2022, 6:25pm UTC](https://community.temporal.io/t/calling-signal-methods-on-completed-workflows/4063/2 "2022-02-23T18:25:31Z")

</div>

Which SDK are you using (you can tag it when creating a thread on the forum).

In case you try to signal an already completed workflow from your client, the client call should receive the `WorkflowNotFoundException` in the Java SDK.

---

<div class="post-metadata">

**Author:** ![thiru](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@thiru](https://community.temporal.io/u/thiru)\
**Post date:** [February 24, 2022, 5:53am UTC](https://community.temporal.io/t/calling-signal-methods-on-completed-workflows/4063/3 "2022-02-24T05:53:07Z")

</div>

Hi tihomir,  
Thanks for the help. yes, I am using java SDK. sorry forgot to mention it.

---

<div class="post-metadata">

**Author:** ![thiru](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@thiru](https://community.temporal.io/u/thiru)\
**Post date:** [February 24, 2022, 7:40am UTC](https://community.temporal.io/t/calling-signal-methods-on-completed-workflows/4063/4 "2022-02-24T07:40:27Z")

</div>

Hi,  
a related question(Java SDK only):  
if i try to create a workflow stub for an already completed workflow through  
WorkflowClient.newWorkflowStub(Class workflowInterface, String workflowId);  
function call, will we get the same `WorkflowNotFoundException` exception?

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [February 24, 2022, 4:39pm UTC](https://community.temporal.io/t/calling-signal-methods-on-completed-workflows/4063/5 "2022-02-24T16:39:58Z")

</div>

Stub creation doesn’t check if an ID is valid. When you call a signal or query method on that stub, you can potentially get `WorkflowNotFoundException`.

---

<div class="post-metadata">

**Author:** ![thiru](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@thiru](https://community.temporal.io/u/thiru)\
**Post date:** [February 25, 2022, 9:23am UTC](https://community.temporal.io/t/calling-signal-methods-on-completed-workflows/4063/6 "2022-02-25T09:23:50Z")

</div>

Thanks for the clarification Maxim!
