Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Managed Clone Patch solution containing Modern Flows not committing Modern Flow update when imported to another instance

Posted on by 125

All,

We have an issue using Clone Patching of a Managed Solution.

A clone patch solution is exported from our Dev instance as a Managed Solution. Call it HS_1.

This HS_1 managed solution contains a number of Modern Flows (say Flow X and Flow Y).

This HS_1 managed solution is then imported to a managed environment/instance (Test) using the Legacy Solution import page in D365  (Settings > Solution).

The managed environment (Test) contains a base solution (call it HS_Base) that also contains Modern Flow X and Flow Y.

The HS_1 managed solution imports successfully to the managed environment (Test).

However, if I edit a Modern Flow (Flow X) in that managed environment (Test) and compare that same Flow X from our Dev environment, the changes we made in Flow X in our Dev environment is not committed in the other managed environment (Test) where we published the managed solution to. I have uninstalled that solution in Test and reimported again, no luck. The modern flows in the imported managed solution are not committing the change.

Is there something extra that I need to do in the Test environment in order to commit the change to Modern Flow X and Y contained in the imported Manage Solution (HS_1)?

So here is Dev01 Flow X:

pastedimage1603701278762v2.png

Here is Test Flow X:

pastedimage1603701231753v1.png

a2z

  • a2z Profile Picture
    a2z 125 on at
    RE: Managed Clone Patch solution containing Modern Flows not committing Modern Flow update when imported to another instance

    Hi Susana,

    Yes, it has to do with the solution layer.

    We are using CDS connectors where you specify the environment to use. Although we do select (Current), it seems when this Flow is published to another environment, the publication process stops the Flow so we need to go in to check the connectors and activate it. Doing this creates that customized solution layer. Publishing again on this instance prevents the new Flow from being active because the customized layer takes priority.

    We do exactly what you suggested.

    Note that there is actually a new set of CDS connectors where you don't need to specify the environment. They look like these:

    pastedimage1604353491146v1.png

    We were informed that using these type of CDS connectors will not turn off the Flow when published to another instance.

    Thanks Susuna

    a2z

  • Verified answer
    RE: Managed Clone Patch solution containing Modern Flows not committing Modern Flow update when imported to another instance

    Hello a2z,

    Could you please validate what are the layers for this flow?

    Solutions layers for a flow:

    pastedimage1604311885754v1.png

    I saw this behavior happening when a flow has on top the Active layer, meaning that the flow was edited directly on the environment what can happen if you have to reset the connections, for example.

    If you have an Active layer in your Flow, two approaches can be followed to validate if the flow is updated:

    1. Use Remove Active Customizations or Remove unmanaged layer on the flow
    2. Import the solution with overwrite customizations

    Thank you in advance.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans