简体   繁体   中英

AWS SWF Find Child Workflow Instance / runid

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM