Hello!
A password change caused a bunch of workflows to fail with the same error. 401: Unauthorized.
The pw got fixed and it’s now working. Next step is to get the wflows running again.
I tried to use the bulk reset on the temporal web ui. It gives me the two options:
- First Workflow task
- Last Workflow task
If I chose #1, I believe it will start from the very beginning and execute all activities as if they were new. I don’t want to repeat all activities to avoid repeated effects in the other systems.
If I chose #2, the resulting effect appears to be as if it reapplied the last activity without running it again. In my case, the 401 error shows up again even though the activity works if I rerun it via non-batch reset by resetting to the point before the failed activity starts, which is the point where the previous activity successfully completed (WorkflowTaskCompleted)
Consider this sequence:
Event1 xyz
…
Event10 WorkflowTaskScheduled
Event11 WorkflowTaskStarted
Event12 WorkflowTaskCompleted
Event13 ActivityTaskScheduled
Event14 ActivityTaskStarted
Event15 ActivityTaskFailed
Batch reset style #2 (Last Workflow task) seems to reapply the workflow tasks and not the activity tasks starting with Event13.
I’m probably confused about something fundamental here but the effect is as described and I need a way to reset multiple to actually re-run the activities. Is there a way to do that?
Thank you!