# Best practice to Signal one workflow from another

**URL:** <https://community.temporal.io/t/best-practice-to-signal-one-workflow-from-another/8749>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [July 5, 2023, 3:54pm UTC](https://community.temporal.io/t/best-practice-to-signal-one-workflow-from-another/8749 "2023-07-05T15:54:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ihristov](https://avatars.discourse-cdn.com/v4/letter/i/85e7bf/32.png) [@ihristov](https://community.temporal.io/u/ihristov)\
**Post date:** [July 5, 2023, 3:54pm UTC](https://community.temporal.io/t/best-practice-to-signal-one-workflow-from-another/8749/1 "2023-07-05T15:54:05Z")

</div>

Hello I have WorkflowA with ActivityA which does some buisness logic and send signal to workflowB. Is that recomended way to signal one workflow from another or should signal workflowB only from inside workflowA not from ActivityA.

---

<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:** [July 5, 2023, 4:14pm UTC](https://community.temporal.io/t/best-practice-to-signal-one-workflow-from-another/8749/2 "2023-07-05T16:14:27Z")

</div>

You can send signal from activity code using client api, or you can use ExternalWorkflowStub in workflow code to send it as well.  
Note with activities there is possibility for this signal to be sent multiple times (for example if your activity times out based on your set activity StartToClose timeout or maybe fails after it sends the signal but before activity code completes and is retried) so depending on use case might be better to do this from workflow code.
