-
My goal: I want to use wait block in multi step function, due to my api rate limit, I have to set wait block to 10 minutes or more. It will result error.
-
Issue:
-
Steps I've taken to troubleshoot: create a rest api block, and wait block more than 10 minutes(sometime 20 minutes), then create other REST api block, the return will like
{"data":null,"metadata":{},"error":"Internal Error running a block: Failed to fetch"}or
Internal Error running a block: Error parsing response body." -
Additional info: (Cloud or Self-hosted, Screenshots)
Cloud
if I move the wait block to the mainboard of workflow, it will run in correct way. Also if I reduce to 5 minutes in wait block, it also work rightly.
I think it is a bug.
Hi @AnsonHwang,
Hope you are doing well - it's been awhile!
Is the wait in a loop? Standalone waits are not subject to the synchronous time limit, but if you want to continuously call it in a loop, it is subject to the synchronous execution timeout, which is 15 minutes max. See this similar convo about loops - Workflow always fails (suspiciously at around 15 mins!) - #9 by lindakwoo
If you are not looping, it might help to see some screenshots of the configuration
Thanks. Yes, during these time, I always use retool.
Workflow limits | Retool Docs .
I don’t use any loop block in that multistep function and not and for/while loop in the code block too.
but use multi wait, it indeep exceed 10 munites intotal.
I found there is some limit statement about block of workflow, the limit is 10 minutes instead of 15 minutes.
Is the multi step function consider as a block? I don’t find any message about multi step function in above page.
Also, not any mention limit about multistep function at Create functions to reuse queries and logic in workflows | Retool Docs
Hope can update the document.
I don’t think the limit time of multi step function is a good thing. It will limit many intergrated ability.
It was called “MULTI” STEP, it should be allow more limit time, or cancel the limit in the function level, and limit in the workflow level.
There is a total block timeout 820000ms hit in the mutistep function block.
Which make me consider it as the total timeout. I think it should be change to editable row as other block, it will throw error when the input time exceed.
Hi @AnsonHwang,
Multistep functions are different than resource or code blocks. The 820000ms isn’t editable because it is the sum of all of the timeouts of the blocks in the function. The value will change depending on the function’s block timeouts.
Could you share your workflow id (from the url of the workflow) as well as a screenshot of the run history?



