Parent Workflow is getting closed when Child Workflow is getting replayed, and hence the parent workflow is not getting response from the replayed child workflow

When I am trying to replay a child workflow (in java)->
The initial child workflow is getting terminated, and a new child workflow with a new run id getting started
But since the initial child workflow is getting terminated the parent workflow is considering that as a response and it is getting closed without waiting for the response from the replayed child workflow . Can you please suggest some changes that can be made

I assume by “replay child workflow,” you mean reset. Currently, reset is broken for child workflows. Please file an issue with your scenario to get this covered in the future.

Thank you for your response @maxim
We are using 1.14.0 temporal version (java).
The scenario what we are dealing with is -
There is a parent workflow and a child workflow is getting triggered from that parent workflow.
Now suppose a child workflow is stuck and we want to re-start the child workflow from that particular step where it is stuck, and it should return the response back to the parent workflow is there any way, we can do it

What do you mean by “stuck”?

By this what I mean is, the workflow execution is not getting completed, might be some code issue or the task is not picked up by the worker.
In those scenarios we might need to reset (replay) the workflow

Sorry, I"m still confused. What is “workflow execution is not getting completed” and how reset is going to help here?

“task is not picked up by the worker.” means that worker is not listening on the specified task queue. Not clear how reset helps here.