# Forcing a Deploy from inside Flow

**URL:** <https://discourse.nodered.org/t/forcing-a-deploy-from-inside-flow/43720>\
**Category:** General\
**Created:** [5 April 2021 18:50 UTC](https://discourse.nodered.org/t/forcing-a-deploy-from-inside-flow/43720 "2021-04-05T18:50:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![psalibe](https://avatars.discourse-cdn.com/v4/letter/p/e9c0ed/32.png) [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Post date:** [5 April 2021 18:50 UTC](https://discourse.nodered.org/t/forcing-a-deploy-from-inside-flow/43720/1 "2021-04-05T18:50:34Z")

</div>

Hello,

I am wondering if there is a way to force a deploy from inside the flow of Node-Red. For example, if my OPCUA Server isn't reading for 30 seconds, I would like for the flow to redeploy itself (As this usually reconnects the OPCUA Server - I just do it manually from the localhost:1880. I would like to automate this deployment if possible.

Thanks,  
Paul

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 April 2021 19:11 UTC](https://discourse.nodered.org/t/forcing-a-deploy-from-inside-flow/43720/2 "2021-04-05T19:11:24Z")

</div>

[This thread](https://discourse.nodered.org/t/restart-flows-using-node-red-api/34632) will show you how to restart flows (not really a redeploy)

---

<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:** [4 June 2021 19:11 UTC](https://discourse.nodered.org/t/forcing-a-deploy-from-inside-flow/43720/3 "2021-06-04T19:11:37Z")

</div>

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