# Continue JobFlow If A Single Node Fails

**URL:** <https://forum.cloverdx.com/t/continue-jobflow-if-a-single-node-fails/2149>\
**Category:** CloverDX Platform\
**Created:** [October 20, 2023, 6:54pm UTC](https://forum.cloverdx.com/t/continue-jobflow-if-a-single-node-fails/2149 "2023-10-20T18:54:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hesske](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@hesske](https://forum.cloverdx.com/u/hesske)\
**Post date:** [October 20, 2023, 6:54pm UTC](https://forum.cloverdx.com/t/continue-jobflow-if-a-single-node-fails/2149/1 "2023-10-20T18:54:46Z")

</div>

I have a jobflow that has a DeleteFiles component in the first phase. Sometimes, there is no file for this component to delete which will cause the component and the jobflow to fail. Is there a way to have the jobflow continue if this 1 node fails?

---

<div class="post-metadata">

**Author:** ![Tomas\_Pavlas](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.cloverdx.com/tomas_pavlas/32/170_2.png) [@Tomas\_Pavlas](https://forum.cloverdx.com/u/Tomas_Pavlas)\
**Post date:** [October 23, 2023, 1:06pm UTC](https://forum.cloverdx.com/t/continue-jobflow-if-a-single-node-fails/2149/2 "2023-10-23T13:06:03Z")

</div>

Hi,

If you want the jobflow to continue even if the DeleteFiles component does not have anything to delete, you should do two things:

1. Set the **Stop processing on fail** property to false. So even if the file doesn’t exist, the component will continue to process the next input.  
 ![](https://canada1.discourse-cdn.com/flex007/uploads/cloverdx1/original/1X/f243d505ce53cbce0731e208897781d9657d5c4d.png)
2. If you don’t want to have error messages or job failures, you can prevent that by simply connecting another component to Output port 1 of the DeleteFiles.  
The DeleteFiles will send the error message on the **edge** to the other component. You can use the FlatFilerWriter so those error messages will be stored in a File, or if you use something like a Success component, they can be reviewed in Job Inspector, but will not be stored.  
 ![](https://canada1.discourse-cdn.com/flex007/uploads/cloverdx1/original/1X/c329e69a6e0fe989f006c8fd10389a191c14d90e.png)

I hope this will help.

Best regards, Tom.

---

<div class="post-metadata">

**Author:** ![hesske](https://avatars.discourse-cdn.com/v4/letter/h/90db22/32.png) [@hesske](https://forum.cloverdx.com/u/hesske)\
**Post date:** [October 23, 2023, 3:15pm UTC](https://forum.cloverdx.com/t/continue-jobflow-if-a-single-node-fails/2149/3 "2023-10-23T15:15:30Z")

</div>

Thank you so much Tomas! This solution worked just as desired. I chose to add a FlatFileWriter to output 1 on the DeleteFiles component so I could capture the error messages in case there was something else that happened down the road.

Thanks again!
