Can child workflow access the signal data in parent workflow?

Hi team, we have a parent workflow that will contains multiple child workflows. And we plan to always pass in signal data via parent workflow id. Wondering if child workflow can have access from parent workflow’s? If not, shall we basically pass in signal data via child workflow id? Thanks!

Wondering if child workflow can have access from parent workflow’s?

Yes, parent workflow (as well as any other workflow that knows the child workflowID) can send signals to the child workflow.

And we plan to always pass in signal data via parent workflow id.

Be careful to not overwhelm the parent workflow with signals. How many such signals per parent workflow are expected?

Thanks for the quick response!

How many such signals per parent workflow are expected?

It is not fixed. Usually less than 10. If the number of signal per parent workflow is relatively large, is “passing signal to child workflow” is preferred?

For less than a few hundred it should work fine. For the larger number signaling children directly is more scalable.