I have a parent entity (Group) with child entities (Reg). I need to design a workflow that checks each child entity individually, after it has been created, calculating the costs of the individual Reg. Afterwards I need it to look through the group of Reg's again to see which one has not been calculated, when it is satisfied that all Reg's have been processed it will stop.
How do I do this?