While trying to enable one of the cloud flows from a managed solution I had installed, I encountered the following error:

 “{“error”:{“code”:”ChildFlowNeverPublished”,”message”:”The workflow with id ‘xxxx1af-f011-bbd3-00224809eacc’ cannot be used as a child workflow because it has never been published. Child workflows need to be published at least once before they can be included in a published parent workflow.”}}”

Reason and Fix:

The flow I was trying to enable was referencing a child flow that was turned off. Because of this, I couldn’t enable the parent flow until the child flow was enabled.

Quick Fix:
  • Grab the Workflow GUID from the error message.
  • Construct the URL using this format: https://make.powerautomate.com/environments/{environmentId}/solutions/{solutionId}/flows/{workflowId}
  • Open the URL to access the problematic child flow.
  • Enable the child flow.
  • Now, go back and enable the parent flow.

🙂

Advertisements
Advertisements

Leave a comment