How can we track the execution of child workflow?

I’ve an API that triggers a WF. This WF spawns a child WF. My API on triggering a WF returns the runId using the Visibility service (query parameter: runId; returned value: current running activity). How can I similarly track the progress of a child WF? What mechanism can I use to get the current activity of the child WF and how can I get its runId?

I would add a query method to the parent workflow that returns the workflowId of the child.

1 Like