# Try catch in flows

**URL:** <https://discourse.nodered.org/t/try-catch-in-flows/5977>\
**Category:** General\
**Created:** [20 December 2018 05:57 UTC](https://discourse.nodered.org/t/try-catch-in-flows/5977 "2018-12-20T05:57:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akhilendharreddy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/akhilendharreddy/32/6953_2.png) [@akhilendharreddy](https://discourse.nodered.org/u/akhilendharreddy)\
**Post date:** [20 December 2018 05:57 UTC](https://discourse.nodered.org/t/try-catch-in-flows/5977/1 "2018-12-20T05:57:35Z")

</div>

how can i achieve try and catch blocks in flows if any error i want to call the flow again? is this possible?

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [20 December 2018 06:21 UTC](https://discourse.nodered.org/t/try-catch-in-flows/5977/2 "2018-12-20T06:21:01Z")

</div>

You can always sleep better, if your flow is made bulletproof so it does not fire any errors 😃  
But there is Catch node of course

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/8febfcda9c007d0976c90b17bbe6ee765656c724.png)

---

<div class="post-metadata">

**Author:** ![akhilendharreddy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/akhilendharreddy/32/6953_2.png) [@akhilendharreddy](https://discourse.nodered.org/u/akhilendharreddy)\
**Post date:** [20 December 2018 09:10 UTC](https://discourse.nodered.org/t/try-catch-in-flows/5977/3 "2018-12-20T09:10:38Z")

</div>

@hotNipi so i can not initiate flow again when some error happen?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 December 2018 09:24 UTC](https://discourse.nodered.org/t/try-catch-in-flows/5977/4 "2018-12-20T09:24:36Z")

</div>

> [@akhilendharreddy](#):
>
> so i can not initiate flow again when some error happen

There is no such thing as initiating a flow. You can use a catch node to detect errors, then if appropriate you can send a message from the catch node to perform whatever action you want (such as retrying whatever has caused the error).
