# Extend the Execution time of workflow

**URL:** <https://community.temporal.io/t/extend-the-execution-time-of-workflow/10754>\
**Category:** Community Support\
**Created:** [January 23, 2024, 6:18am UTC](https://community.temporal.io/t/extend-the-execution-time-of-workflow/10754 "2024-01-23T06:18:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditi\_ritam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/aditi_ritam/32/940_2.png) [@aditi\_ritam](https://community.temporal.io/u/aditi_ritam)\
**Post date:** [January 23, 2024, 6:18am UTC](https://community.temporal.io/t/extend-the-execution-time-of-workflow/10754/1 "2024-01-23T06:18:30Z")

</div>

How can we extend the timeline of running workflow in temporal?

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [January 23, 2024, 6:32am UTC](https://community.temporal.io/t/extend-the-execution-time-of-workflow/10754/2 "2024-01-23T06:32:00Z")

</div>

What do you mean? By default, the workflow duration is not limited. So you don’t need to extend it :).

---

<div class="post-metadata">

**Author:** ![aditi\_ritam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/aditi_ritam/32/940_2.png) [@aditi\_ritam](https://community.temporal.io/u/aditi_ritam)\
**Post date:** [January 23, 2024, 6:52am UTC](https://community.temporal.io/t/extend-the-execution-time-of-workflow/10754/3 "2024-01-23T06:52:01Z")

</div>

We have a timeline of 7 days . The workflow exits after that. We have a use case in which we are supposed to extend the ttl+3 days if the new action is triggered by user . Suppose if the user wants to initiate the pay later flow , since he has opted for paylater flow . we need to keep his workflow active of atleast three more days

---

<div class="post-metadata">

**Author:** ![maxim](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/maxim/32/8_2.png) [@maxim](https://community.temporal.io/u/maxim)\
**Post date:** [January 24, 2024, 6:11am UTC](https://community.temporal.io/t/extend-the-execution-time-of-workflow/10754/4 "2024-01-24T06:11:59Z")

</div>

You can write workflow code to block for seven days unless a new signal is received. When a signal is received, the sleeping interval is reevaluated, and workflow is put to sleep again.

How exactly to do this is SDK specific. Which SDK are you planning to use?
