I was able to get the automation of Projects using flow templates available however I cannot find a template to create 2 templates at a time which uses Hierarchy i.e Project consist of parent and sub-projects. Can anyone point me to steps please?
Salesforce doesn’t have a ready-made Flow template that automatically creates a parent and multiple sub-projects in one go, but you can get it working with a little layering.
Here’s what I usually do: start with a Record-Triggered Flow on Project creation. Once the parent project is created, use a Create Records element inside the flow to generate the sub-projects. You can define them as a collection if you have a set number, or even loop through a custom object/list if it’s dynamic. Don’t forget to set the Parent Project lookup field on each sub-project so the hierarchy sticks.
If your sub-project structure is always the same, you can store a template list of sub-project types in a custom object and loop through it in the flow. That way, whenever a parent project is created, the flow spins up the sub-projects automatically with the correct hierarchy.