1

If I have created a child workflow using StartChildWorkflowExecution now in the parent workflow while handling a signal how do I find if there is any Child workflow running and if yes whats it's runid so that I can send signal or terminate the child workflow?

I am using .Net SDK not the flow framework.

Rohit
  • 75
  • 6
  • Does .Net SDK provide high level API like the Flow Framework or you implement your workflow against the raw history? – Maxim Fateev Oct 11 '17 at 16:50
  • no .net SDK doesn't provide high level API like Flow Framework, we implemented against workflow raw history. Does this mean I need to log myslef in a marker? – Rohit Oct 16 '17 at 08:53

1 Answers1

0

When there is ChildWorkflowExecutionStarted event (which contains runId of the child) and there is no ChildWorkflowExecutionCompleted (or similar) event in the history then child workflow is still running. These events are delivered asynchronously to the parent workflow, so it could be that child has terminated and parent still wasn't notified. But this window is usually pretty short.

Maxim Fateev
  • 6,458
  • 3
  • 20
  • 35