# Automatically restart one flow (not all flows)

**URL:** https://discourse.nodered.org/t/automatically-restart-one-flow-not-all-flows/34813
**Category:** General
**Created:** [26 October 2020 08:30 UTC](https://discourse.nodered.org/t/automatically-restart-one-flow-not-all-flows/34813 "2020-10-26T08:30:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mhechthz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mhechthz/32/20144_2.png) [@mhechthz](https://discourse.nodered.org/u/mhechthz)
#### Post date: [26 October 2020 08:30 UTC](https://discourse.nodered.org/t/automatically-restart-one-flow-not-all-flows/34813/1 "2020-10-26T08:30:49Z")

</div>

Hi,

I managed to restart all the flows automatically from within one workflow. What I really need is to restart only one workflow and keep the others unattached. So I tried to send the restart command to

IP:PORT/#flow/flowid

but this didn't work. Does anyone now if and how this is possible?

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [26 October 2020 08:49 UTC](https://discourse.nodered.org/t/automatically-restart-one-flow-not-all-flows/34813/2 "2020-10-26T08:49:18Z")

</div>

When you start NR all flows are active. An indivisual flow on a tab will be triggerd by the input actions you have set. i.e. if you have an `mqtt-in` node, when a msg arrives, that flow willstart up. If you have an `inject` node set to run every 20 minutes then it will run every twenty minutes.

What is the flow you want to restart actually doing and what are it's inputs?

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [26 October 2020 08:55 UTC](https://discourse.nodered.org/t/automatically-restart-one-flow-not-all-flows/34813/3 "2020-10-26T08:55:31Z")

</div>

To answer your question directly, there is no API for restarting an individual flow.

The whole /flow API is in need of an overhaul. Adding the ability to restart an individual flow was not something on my list to consider for the overhaul - it is now.

---

<div class="post-metadata">

### Author: ![mhechthz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mhechthz/32/20144_2.png) [@mhechthz](https://discourse.nodered.org/u/mhechthz)
#### Post date: [26 October 2020 09:02 UTC](https://discourse.nodered.org/t/automatically-restart-one-flow-not-all-flows/34813/4 "2020-10-26T09:02:57Z")

</div>

Thank you - so I wait for an update and try no longer to find the (non existing) solution.

---

<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: [25 December 2020 09:03 UTC](https://discourse.nodered.org/t/automatically-restart-one-flow-not-all-flows/34813/5 "2020-12-25T09:03:04Z")

</div>

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