I am trying to install Business Approval Kit to my production environment.
I am almost done with the installment. The last step should be turning on all flows that come with the solution. But for some reason turning child flows on results to this error:
Turn on failed. Flow client error returned with status code "BadRequest" and details "{"error":{"code":"ChildFlowNeverPublished","message":"The workflow with id '613b8c18-5ad4-ec11-a7b5-000d3af4ac06' 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."}}".
This error doesn't make any sense to me, because this should be a production ready solution from Microsoft.
According to Microsoft documentation flows should be turned on in a specific order, otherwise there might occur some other errors. The official Microsoft list can be found here: https://learn.microsoft.com/en-us/power-automate/guidance/business-approvals-templates/setup#activate-the-core-cloud-flows
I get some of the first flows turned on but got stuck in the first child flows. Picture below showing the situation.
Any Power App/Automate pro knowing how to fix this issue?
After researching and testing more, I managed to solve this problem by acquiring Power Automate Premium license from my company and after that removing and importing the package again. This way all flows were turned on automatically after importing was done.
To my understanding majority of the flows required Premium license because they used Dataverse as the trigger.