Remove layers in bulk for a flow solution

Objective

Depending on how you worked with your HR solution so far, you may have layers in your solution which need to be removed during the update. Layers are created if you make personalized customizations to your HR solution. Please ask your IT expert if this applies to you. 

If you are not completely sure you made an individual customization to your HR solution which you want to keep, we recommend you remove layers to be sure you can always benefit from all features of the newest solution update.

In case you need to remove layers, this page shows you how it works.

This guide shows you how to do so in bulk using the external program XrmToolBox. It is possible to remove layers without the XrmToolBox (Guide), but then you have to do it one by one. We highly recommend using XrmToolBox, since removing the layers in bulk is much faster and easier.

Prerequisites

  • You have a working HR for Dynamics system which you are currently updating
  • The XrmToolBox and within it, the tool Solution Layers Explorer are installed
  • This procedure is only recommended if there are no customizations in your system done by you or a partner

Click Through

  • Open the XrmToolBox and select the tool Solution Layers Explorer (screenshot)
  • In the list, select Dynamics HR Management Flows Solution (screenshot)
  • Check the checkbox for Workflow (screenshot)
  • Click on Load Active layers above the list (screenshot)
    • Loading them may take a bit of time
  • After the scan is finished, the tool displays all your unmanaged power automate flows with active layers (screenshot)
  • Mark all flows in the list for which you want to remove active layers and click on Remove Active layer(s) above (screenshot)
    • If you know you have customizations set up to your system, do not remove those, otherwise your customization will not work anymore.

Result

After following all these steps, active layers are removed from your flow solution and you can continue with your system update.
HR