{"id":21467,"date":"2019-12-19T11:17:28","date_gmt":"2019-12-19T11:17:28","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=21467"},"modified":"2020-05-27T09:11:19","modified_gmt":"2020-05-27T09:11:19","slug":"child-flows-to-the-rescue","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2019\/12\/child-flows-to-the-rescue\/","title":{"rendered":"Child Flows to the rescue!"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p>In the earlier <a href=\"https:\/\/www.inogic.com\/blog\/2019\/12\/interacting-with-power-automate-flows\/\" target=\"_blank\" rel=\"noopener noreferrer\">blog<\/a>, I was looking to show an end-to-end flow using Canvas Apps &amp; 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:<\/p>\n<p>\u2018Failed during http send request\u2019<\/p>\n<p style=\"padding-left: 120px;\"><img decoding=\"async\" class=\"aligncenter wp-image-21470\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/1Child-Flows.png\" alt=\"Child Flows\" width=\"425\" height=\"608\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/1Child-Flows.png 644w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/1Child-Flows-210x300.png 210w\" sizes=\"(max-width: 425px) 100vw, 425px\" \/><\/p>\n<p>However, this problem could be solved using Child Flows!!<\/p>\n<p>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.<\/p>\n<p style=\"padding-left: 80px;\"><img decoding=\"async\" class=\"aligncenter wp-image-21469\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/2Child-Flows.png\" alt=\"Child Flows\" width=\"532\" height=\"481\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/2Child-Flows.png 1464w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/2Child-Flows-300x271.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/2Child-Flows-768x695.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/2Child-Flows-1024x926.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/2Child-Flows-660x597.png 660w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/p>\n<p>The Perform an unbound action \u2013 is basically a call to processes of the type \u2018Action\u2019 registered in your environment.<\/p>\n<p>The other flow would now call this flow using the Run Child Flow action.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-21468\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/3Child-Flows.png\" alt=\"Child Flows\" width=\"1464\" height=\"998\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/3Child-Flows.png 1464w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/3Child-Flows-300x205.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/3Child-Flows-768x524.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/3Child-Flows-1024x698.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/3Child-Flows-660x450.png 660w\" sizes=\"(max-width: 1464px) 100vw, 1464px\" \/><\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p><strong>\u00a0<\/strong>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.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/add-manage-schedule-notifications-alerts-4-dynamics-365-crm\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-21475\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/A4D-1.jpg\" alt=\"\" width=\"820\" height=\"205\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/A4D-1.jpg 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/A4D-1-300x75.jpg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/A4D-1-768x192.jpg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/12\/A4D-1-660x165.jpg 660w\" sizes=\"(max-width: 820px) 100vw, 820px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In the earlier blog, I was looking to show an end-to-end flow using Canvas Apps &amp; 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\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2019\/12\/child-flows-to-the-rescue\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":23699,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1954,36,44,1985],"tags":[1988,561,1989],"class_list":["post-21467","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-canvas-apps","category-microsoft-flow","category-power-apps","category-power-automate","tag-canvas-apps","tag-dynamics-365-microsoft-flow","tag-power-automate-flows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/21467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=21467"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/21467\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/23699"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=21467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=21467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=21467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}