Replies: 1 comment 5 replies
-
|
@leexin Have you taken a look https://laravel-workflow.com/docs/failures-and-recovery? You shouldn't have to call resume. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm stuck trying to figure out a way to resume a failed workflow.
Assuming the workflow contains activities A -> B -> C in a sequential manner, and initially the workflow failed because Activity B has a bug that throws Exception.
A (success) -> B (failed) -> C (not run)
Workflow status: failed
After we fix the code bug in B and restart the queue worker, the following code is run:
However, when the workflow resumed at Activity B, the same bug happened even though the bug was fixed and queue worker restarted.
Any ideas how can I resume the workflow from the previously failed activity with fresh source code?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions