Hi, we have a parent workflow{P) which creates number of child batch workflow(B). Each of this batch workflow creates number of child workflows(C). We have a separate service which initiates the parent workflow and stores the execution id for the parent work flow. The service does not have access to internals of workflow P. At later point in time, we would like to know number of child workflow C finished given the execution id for workflow P. How can I achieve that?
One options is query all the child workflows directly. In this case the parents can return ids of their children as a workflow query.
Another option is to publish updates to an external datastore like Redis from the children.