New workflow initiated with retry workflow is not picking execution from failed activity of previous failed workflow

I have a workflow where debit was done but credit failed because of service unavailability. Activity level retry reached maximum attempts for credit service and workflow is marked as failure. We brought credit service up. We have configured workflow to retry. The new workflow is not resuming from credit service. It starts from beginning again. I mean, it debits again.
Is it the way Temporal workflow retry designed or Is there any option to resume activity of failed workflow in the new workflow?

Hi @Sharvari, this seems to be a duplicate of Is there any option to resume activity of failed workflow in the new workflow retried?
If it is feel free to close this one. Thanks!