Child Flows to the rescue!

Sending
User Review
0 (0 votes)

Introduction

In the earlier blog, I was looking to show an end-to-end flow using Canvas Apps & Power Automate flows. I wanted to include a call to an Action created in Dynamics 365 CRM to complete the picture. But I was not able to include the Power Automate flow in the Canvas App if the flow had reference to Perform Unbound Action in the flow. Further, it would display the following message:

‘Failed during http send request’

Child Flows

However, this problem could be solved using Child Flows!!

In the updated design, you will see I created another flow with the PowerApps Trigger that calls the Perform Unbound Action of the Common Data Service (Current) connector.

Child Flows

The Perform an unbound action – is basically a call to processes of the type ‘Action’ registered in your environment.

The other flow would now call this flow using the Run Child Flow action.

Child Flows

Conclusion

 Thus, with this now we have the entire design that includes the capability of extending complex business logic within your canvas apps through code with the help of Actions.