# Continuing workflow to next step after receiving a signal

**URL:** https://community.temporal.io/t/continuing-workflow-to-next-step-after-receiving-a-signal/7605
**Category:** Community Support
**Tags:** design
**Created:** [March 17, 2023, 2:58am UTC](https://community.temporal.io/t/continuing-workflow-to-next-step-after-receiving-a-signal/7605 "2023-03-17T02:58:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mihirg](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/mihirg/32/3489_2.png) [@mihirg](https://community.temporal.io/u/mihirg)
#### Post date: [March 17, 2023, 2:58am UTC](https://community.temporal.io/t/continuing-workflow-to-next-step-after-receiving-a-signal/7605/1 "2023-03-17T02:58:17Z")

</div>

I have a 3 step workflow

1. Step 1: Make API call to external system
2. Step 2: Wait for a webhook callback from external system
3. Step 3: use data from webhook callback to do addtional work and exit the workflow.

For step 2, I can register a signal handler, which is triggered by our my webhook receiver.  
In the signal handler, how do I transition to the next step in the workflow?

---

<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: [March 17, 2023, 4:28am UTC](https://community.temporal.io/t/continuing-workflow-to-next-step-after-receiving-a-signal/7605/2 "2023-03-17T04:28:19Z")

</div>

It depends on the SDK you are using. In Java you would call await:

```auto
step1();
Workflow.await(()->webhookResult != null);
step3();

```

where `webhookResult1` is assigned by a signal handler.
