|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: 'Cannot call a child flow' |
| 4 | +menubar: docs_menu |
| 5 | +image: 'https://unsplash.com/s/photos/random' |
| 6 | +hero_image: '/img/IMG_20220521_140146.jpg' |
| 7 | +show_sidebar: false |
| 8 | +hero_height: is-small |
| 9 | +date: '2025-07-12' |
| 10 | +--- |
| 11 | + |
| 12 | +# Intro |
| 13 | + |
| 14 | +This article lists reasons why you may not be able to call a child flow and how to fix them. |
| 15 | + |
| 16 | +<br/><br/> |
| 17 | + |
| 18 | +# Because child workflows only support embedded connections |
| 19 | + |
| 20 | +### Error message |
| 21 | + |
| 22 | +Cannot call a child flow: Workflow cannot be used as a child workflow because child workflows only support embedded connections |
| 23 | + |
| 24 | +### Explanation |
| 25 | + |
| 26 | +As per [Create child flows] (https://learn.microsoft.com/en-us/power-automate/create-child-flows) |
| 27 | + |
| 28 | +At this time, you can't pass connections from the parent flow to the child flow. If you don't do this, you receive an error that states that the name cannot be used as a child workflow because child workflows only support embedded connections. |
| 29 | + |
| 30 | + |
| 31 | +### Solution |
| 32 | + |
| 33 | +If your flow uses anything other than built-in actions or the Microsoft Dataverse connector, you need to update the flow to use the connections embedded in the flow. To do this, go to the child flow's properties page, and then select Edit in the Run only users tile. |
| 34 | + |
| 35 | +<img src="/articles/img/paembeddedconnections.png" width="200"> |
| 36 | + |
| 37 | +In the pane that appears, for each connection used in the flow, you will need to select <b>Use this connection</b> instead of <b>Provided by run-only user</b>. |
| 38 | + |
| 39 | +<img src="/articles/img/paembeddedconnections2.png" width="200"> |
| 40 | + |
| 41 | + |
| 42 | +<br/><br/> |
| 43 | + |
| 44 | + |
| 45 | +# Child flow not visible |
| 46 | + |
| 47 | +If you do not see the child flow in the dropdown of the action "Run child flow": |
| 48 | + |
| 49 | +1. Make sure you have the permissions to open the child flow. |
| 50 | +Can you open the flow with your account? |
| 51 | + |
| 52 | +2. Make sure the flow is in the same solution as parent. If not, add the existing flow to the solution. |
| 53 | +Open the parent flow solution. Do you the child flow there? |
| 54 | + |
| 55 | +3. Make sure the flow has an appropriate trigger |
| 56 | + |
| 57 | +The only supported trigger is *Manually trigger a flow*. |
| 58 | +This is the one you use when a parent flow calls a child flow via the Run a Child Flow action. |
| 59 | + |
| 60 | +<br/><br/> |
| 61 | + |
| 62 | +# Parameters mismatch |
| 63 | + |
| 64 | +### Error message |
| 65 | + |
| 66 | +The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'Required properties are missing from object: location.'. |
| 67 | + |
| 68 | +<img src="/articles/img/pa_childflow2.png" width="200"> |
| 69 | + |
| 70 | +### Explanation |
| 71 | + |
| 72 | +The child flow has required parameters that were not supplied. |
| 73 | + |
| 74 | +### Solution |
| 75 | + |
| 76 | +Fill out the required parameters. If the child flow has changed, re-add the action to the parent flow to refresh parameters. |
| 77 | + |
| 78 | +<br/><br/> |
| 79 | + |
| 80 | +# Surprise Extra Parameters for a Child Flow |
| 81 | + |
| 82 | +There is a bug with Power Automate where extra parameters can just appear. If you remove them and correct the child flow - they will reappear again some time later. For me in spring 2025 they kept reappearing every Thursday :) |
| 83 | + |
| 84 | +<img src="/articles/img/pa_childflow.png" width="200"> |
| 85 | + |
| 86 | +You can either fill them out and leave ugly like this, or use a nice solution provided by Ian Grieve here: |
| 87 | +[Working with Power Automate Child Flows: Error Encountered With Surprise Extra Parameters for a Child Flow](https://www.azurecurve.co.uk/2024/03/working-with-power-automate-child-flows-error-encountered-with-surprise-extra-parameters-for-a-child-flow/) |
| 88 | + |
| 89 | + |
| 90 | +<br/><br/> |
| 91 | + |
| 92 | + |
| 93 | +# See Also |
| 94 | + |
| 95 | +[Create child flows] (https://learn.microsoft.com/en-us/power-automate/create-child-flows) |
0 commit comments