how to unregister custom workflow activity in CRM 2013 RRS feed

  • Question

  • Hi,

    In my project, i have created many generic custom workflow activities and used them in workflow processes.

    But some of the custom workflow activities are no more useful and i want to unregister them. 

    In our system we have used so many processes and it is very difficult to identify each process and delete the custom workflow step which is refering the unwanted custom workflow code activity.

    Can anyone suggest me is there any better way to achieve this?

    Is there any tool which will give the information about "which custom workflow used in which process"?

    Thanks in advance.

    Wednesday, February 11, 2015 12:46 PM


  • Good question.  I just put up a blog post about this.  Here's what I found:

    If you are ever need to find all the workflows that have references to a custom workflow assembly, you can query the Xaml column on the Workflow entity.  Using ODate is the fastest way:


    If you are on-prem, then you can also do this via SQL: 

    FROM   workflow wf 
    WHERE  xaml LIKE '%MyCustomWorkflowActivityClassName%' 

    • Marked as answer by samuel s Thursday, February 12, 2015 4:21 AM
    Wednesday, February 11, 2015 3:12 PM