When I export a solution from the sandbox environment and import it into the production environment the flows are not updated. The only way I managed to get the solution updated was to delete the solution in the production environment. This deleted all the custom records. So that is not the answer. I've both options while importing neither seems to make a difference.
Solved! Go to Solution.
Thanks for clarifying. I have now removed this unmanaged layer. However, after checking my other flows in the solution deployed to production: do I need to do the same , before or after I deploy solution from my dev/sandbox environment.
I guess most peeps are now putting this type of task in a DevOps pipeline but I was hoping to do all this manually until after Go Live. Is this really ALM nirvana🙄?
I have to do it after deployment to production on some flows every time. Mostly I believe it has to do with the connections that are set up after deployment. The unmanaged layer saves the new connections along with the old flow. If it would only save connection info then we wouldn't be having this problem.
If the the unmanaged layer saves the connections ( via connection references) I still don't understand why this is blocking the upgrade. Out of interest, have you tried the 3rd, Update option when you manually import the new managed solution in your destination environment - looks promising.
On Friday, during UAT one of my Power Apps didn't upgrade, which again I resolved by deleting the unmanaged layer. Today, during further testing, we noticed in the same Power App , the called Power Automate was showing as not connected. This I had to fix in production as the issue is not showing in the Development environment. I beginning to think Power Platform's implementation of seamless ALM is laughable .
I also don't understand why it saves the whole flow in the active layer instead of just connection information. I've tried every import option there is and it is all the same. It is also only for flows with certain connection types.
Join us for the next call on August 17, 2022 at 8am PDT.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.