cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

heramb_sawant
Organizer

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

4 REPLIES 4

bradley_danyo
Dynatrace Mentor
Dynatrace Mentor

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

bradley_danyo_0-1691073799648.png

 

 

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

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? 

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

I will implement this. Thanks for your valuable inputs.

Regards,
Heramb

Featured Posts