locked
Cannot unregister a custom workflow RRS feed

  • Question

  • Hi,

    1. I have developed a custom flow and registered using the PlugIn Registration tool. That part worked ok. 

    2. Created a OOB workflow to call the custom one, customized it and Activated as per documentation. Everything worked as expected.

    3. Run  the Profiler to simulate the action. At this point the tool reported it cannot load the assembly.

    4. Deactivated the OOB workflow and even deleted completely, Published the solution. I expected at this point all the references to the custom workflow be gone. However is not true, the tool still reports as below.

    Does anybody have an idea how to unregister the workflow and purge it out?

    Thanks.

    --------------------------------------------------------------------------------------------------

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The PluginType(29d3a46e-f100-4e00-a4e9-27ef388ea15c) component cannot be deleted because it is referenced by 1 other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest.
    Detail: <OrganizationServiceFault xmlns="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ActivityId>465cc9b3-5ed9-47da-a457-a3458cbf5141</ActivityId>
      <ErrorCode>-2147160033</ErrorCode>
      <ErrorDetails xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
        <KeyValuePairOfstringanyType>

    • Moved by Dave PatrickMVP Friday, November 13, 2020 5:04 PM looking for forum
    Friday, November 13, 2020 5:00 PM

Answers

All replies

  • I'd try asking for help over here.

    https://powerusers.microsoft.com/t5/Power-Apps-Community/ct-p/PowerApps1  

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    • Proposed as answer by Guido Franzke Monday, November 16, 2020 7:45 AM
    • Marked as answer by Guido Franzke Thursday, November 19, 2020 7:15 AM
    Friday, November 13, 2020 5:03 PM
  • Thank you, I'll do.
    Friday, November 13, 2020 5:29 PM
  • You're welcome.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Friday, November 13, 2020 6:26 PM