# Workflow task is failing with "Timeout limit (60s) exceeded"

**URL:** <https://community.dynatrace.com/t/workflow-task-is-failing-with-timeout-limit-60s-exceeded/41012>\
**Category:** Automations\
**Tags:** workflows\
**Created:** [August 3, 2023, 9:08am UTC](https://community.dynatrace.com/t/workflow-task-is-failing-with-timeout-limit-60s-exceeded/41012 "2023-08-03T09:08:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![heramb\_sawant](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Post date:** [August 3, 2023, 9:08am UTC](https://community.dynatrace.com/t/workflow-task-is-failing-with-timeout-limit-60s-exceeded/41012/1 "2023-08-03T09:08:19Z")

</div>

Hi Team,  
We’re running one workflow having a user task of JavaScript code. This task is getting failing with the below error:  
“Timeout limit (60s) exceeded”

Can somebody please help me to increase the timeout value? Our task is doing ingest API execution for our test metrics. It takes time due to the good amount of samples.

Please help

Regards,  
Heramb

---

<div class="post-metadata">

**Author:** ![bradley\_danyo](https://avatars.discourse-cdn.com/v4/letter/b/e0b2c6/32.png) [@bradley\_danyo](https://community.dynatrace.com/u/bradley_danyo)\
**Post date:** [August 3, 2023, 2:43pm UTC](https://community.dynatrace.com/t/workflow-task-is-failing-with-timeout-limit-60s-exceeded/41012/2 "2023-08-03T14:43:25Z")

</div>

In the options portion of the task, you can adapt the timeout there.

 ![bradley_danyo_0-1691073799648.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/125a9342d5ef45c561d40c2b71f4b63baba664ad.png)

---

<div class="post-metadata">

**Author:** ![heramb\_sawant](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Post date:** [August 4, 2023, 4:13am UTC](https://community.dynatrace.com/t/workflow-task-is-failing-with-timeout-limit-60s-exceeded/41012/3 "2023-08-04T04:13:37Z")

</div>

Hey ,

I have tried this by setting value 900seconds, still getting the same error “Timeout limit (60s) exceeded”

Task in workflow shows Error : Runteime is 1 m 2 sec  
Regards,  
Heramb Sawant

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [August 4, 2023, 4:46am UTC](https://community.dynatrace.com/t/workflow-task-is-failing-with-timeout-limit-60s-exceeded/41012/4 "2023-08-04T04:46:24Z")

</div>

Hey Heramb,

Theres a note under that option that describes what that actually does. Unfortunately theres a cap on how long a single function call can run for, however a task may run for longer due to loops and retries. This means that the 60s cannot be increased and whatever you are currently attempting to do may need to be split into multiple tasks. Could they be stacked next to each other so that they still run in parallel?

---

<div class="post-metadata">

**Author:** ![heramb\_sawant](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Post date:** [August 7, 2023, 6:24am UTC](https://community.dynatrace.com/t/workflow-task-is-failing-with-timeout-limit-60s-exceeded/41012/5 "2023-08-07T06:24:53Z")

</div>

Thanks Fin for response .&nbsp; I was thinking&nbsp; about the same, splitting task in in&nbsp; parts(mutiple task in workflow).

I will implement this. Thanks for your valuable inputs.

Regards,  
Heramb
