This article is about process of integrating the child flow with the parent workflow in Power Automate to track the history of executions.
Start by adding start time, end time and workflow status variable to manage flow and then organize parent flow actions within Scope Block.
Create 3 parallel branches for error handling and workflow control to handle the flow execution for approvals and other tasks.
Add a new Scope block next to the dummy flag compose action to capture and track flow history.
Add the Run a Child Flow Action inside the Scope to ensure that the parent flow properly runs and tracks the results of the child flow.
Map the Workflow History Block for tracking purposes.
To use the child flow in a different environment, export the entire solution as a .zip file, upload to another environment and configure the connections.
By following these steps, you’ve created a Flow in Power Automate that tracks the history of its execution, incorporates child flows, and manages error handling.
This setup provides transparency and ensures that all flow statuses are logged into your SharePoint or Dataverse, whether they succeed or fail.
With this setup, you can proactively monitor your critical workflows and quickly respond when issues arise, increasing responsiveness and enhancing system reliability.