# I would like to close the workflow if the delay is exceeded by more than x days

**URL:** <https://discuss.workflowgen.com/t/i-would-like-to-close-the-workflow-if-the-delay-is-exceeded-by-more-than-x-days/1573>\
**Category:** General WorkflowGen Discussion\
**Created:** [February 12, 2020, 7:36pm UTC](https://discuss.workflowgen.com/t/i-would-like-to-close-the-workflow-if-the-delay-is-exceeded-by-more-than-x-days/1573 "2020-02-12T19:36:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![DUBARRY](https://avatars.discourse-cdn.com/v4/letter/d/e5b9ba/32.png) [@DUBARRY](https://discuss.workflowgen.com/u/DUBARRY)\
**Post date:** [February 13, 2020, 10:28am UTC](https://discuss.workflowgen.com/t/i-would-like-to-close-the-workflow-if-the-delay-is-exceeded-by-more-than-x-days/1573/3 "2020-02-13T10:28:08Z")

</div>

I think that I understood your method and I seem to correspond to my need but when I put a following action END with as condition \<WF\_ACTIVITY\_INST\_OVERDUE\_MINUTES\>\> 2 on my portal the action remains to be done while the delay of 2 minutes is exceeded . I thought the action disappeared and closed the workflow ???

 ![CaptureEcran](https://canada1.discourse-cdn.com/flex030/uploads/workflowgen/original/1X/9cf175c377098b7389438a48bec51284d4cae7a9.png)

---

_[View the full topic](https://discuss.workflowgen.com/t/i-would-like-to-close-the-workflow-if-the-delay-is-exceeded-by-more-than-x-days/1573)._
