Hi there, I'm bringing another piece of info to the thread as I was about to create a new topic with a very similar issue.
Maybe it is linked, maybe not but happy for the retool team @ChiEn to move that message to a new thread if it appears to be 2 different issues.
So we have 2 workflows that stopped running this week, when investigating them we noticed that both were in a pending stage for the last 2 days.
These are the only 2 workflows calling agents so I believe it might have to do with an agent being called.
- We tried to terminate the workflow and that didn't work, the button is just stuck
- We tried running the flow again and it returns an error "Workflow run failed to start. Please try running it again."
- We then tried copying the workflow, but launching the new one just returns the same error "Workflow run failed to start. Please try running it again."
- We tried doing an export / import of workflow as well and that always returns that same error
One of our workflow was very small, so we rebuilt it from scratch as a test and that worked and it is now running again, we deleted the old one that was stuck.
However the second workflow has quite a few complex blocks and if possible we'd like to avoid rebuilding it from scratch unless we don't have the choice. Could you please help us unblock that workflow as well? and you might want to also investigate why that workflow is never ending and crashing on reset.
Again these are the only workflows with agent blocks inside, we have another 25+ workflows running and none of them stopped.
That workflow has been running hundreds of times in the past and includes waiting time up to 30-40min depending on scenarios and it never got stuck so maybe our scenario is a bit different.
Instance: https://angsanatools.retool.com/
Workflow: be013be7-7a97-4140-9f0e-6bdff958185e
Many thanks
Je
EDIT 1: We were able to get that workflow unstuck by:
- Deleting the agent blocks inside the workflow that we believe were the issue
- Exported the workflow as JSON
- Deleted the workflow
- Imported the workflow with the saved JSON
- Added the agent block again
- Got a successful run
Of course assuming this is a related issue based on the initial message above, but we definitely couldn't get that workflow unstuck either - so hope this helps