# How to Restart a Node within a flow by checking the status node

**URL:** <https://discourse.nodered.org/t/how-to-restart-a-node-within-a-flow-by-checking-the-status-node/61876>\
**Category:** General\
**Created:** [27 April 2022 14:31 UTC](https://discourse.nodered.org/t/how-to-restart-a-node-within-a-flow-by-checking-the-status-node/61876 "2022-04-27T14:31:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![raivens](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@raivens](https://discourse.nodered.org/u/raivens)\
**Post date:** [27 April 2022 14:31 UTC](https://discourse.nodered.org/t/how-to-restart-a-node-within-a-flow-by-checking-the-status-node/61876/1 "2022-04-27T14:31:23Z")

</div>

I am using an email-In node and Getting Emails via IMAP at specific intervals. But some hours the node hangs at connecting state. and I need to restart the flow or Node, by moving it in the workplace and deploying via modified nodes. I can get the status via the Status node. So, is there any method to re-init the node by checking the Status Node?

![Screenshot 2022-04-27 200001](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/c/ccd5db95aeafecb4fa3f58beaeb30d179a725b0c.png)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 April 2022 17:07 UTC](https://discourse.nodered.org/t/how-to-restart-a-node-within-a-flow-by-checking-the-status-node/61876/2 "2022-04-27T17:07:06Z")

</div>

It may be possible with some nodes by adding a catch node which can check for a node's status setting. However, that requires that the source node can be re-triggered and I don't believe that the email in node can be.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 June 2022 17:07 UTC](https://discourse.nodered.org/t/how-to-restart-a-node-within-a-flow-by-checking-the-status-node/61876/3 "2022-06-26T17:07:31Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
