# How to use the new "complete" feature internally?

**URL:** <https://discourse.nodered.org/t/how-to-use-the-new-complete-feature-internally/16242>\
**Category:** General\
**Created:** [3 October 2019 08:23 UTC](https://discourse.nodered.org/t/how-to-use-the-new-complete-feature-internally/16242 "2019-10-03T08:23:11Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![mannharleen](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mannharleen/32/25594_2.png) [@mannharleen](https://discourse.nodered.org/u/mannharleen)\
**Post date:** [30 October 2020 01:09 UTC](https://discourse.nodered.org/t/how-to-use-the-new-complete-feature-internally/16242/8 "2020-10-30T01:09:58Z")

</div>

@knolleary You may have seen my post [here](https://discourse.nodered.org/t/restart-flows-using-node-red-api/34632/9). I am working with pm2, and very keen to perform graceful shutdowns.

If there is still time for NR to adopt it internally, I would like to explore the idea of managing it with pm2. What events/methods are available to the runtime currently to know if a flow is running or not? Perhaps, I am asking the wrong ques, so happy to be guided.

---

_[View the full topic](https://discourse.nodered.org/t/how-to-use-the-new-complete-feature-internally/16242)._
