Hi All,
I have a requirement to call child flow dynamically based on workflow Name
I have more than 50 child flows and these child flows need to be called from a generic parent flow based on some values.
I have the flow names in a table and I need to call the child flows based on passing that name in the custom value.
I have tried using the custom value option but it is showing an error while saving the flow
Please help if there is any way to call it via the custom option.
Dharmeshwaran SPosted Jun 24, 2024, 2:16 PM
To dynamically call child flows based on workflow names in Power Automate, you can use a combination of parent and child flows along with the HTTP request action to dynamically trigger the appropriate child flow. Here's how you can achieve this:
Step-by-Step Solution
Create Child Flows: Ensure that each child flow is configured to accept HTTP requests. Each child flow should start with the
When an HTTP request is receivedtrigger.Store Child Flow URLs: Store the URLs of the child flows in a table or a data source like SharePoint, SQL Database, or an Excel file.
Parent Flow Configuration: In the parent flow, retrieve the URL of the child flow based on the workflow name and then use the HTTP action to call the child flow.
Thanks!!