-
-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
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:
$workflow = WorkflowStub::load($workflowId);
$workflow->resume();
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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels