How to query workflow definition? RRS feed

  • Question

  • Hi, I would like to use a query to get information about which workflows use my custom assembly. Is that possible or I have to go manually through all the workflow definitions?

    Thanks in advance


    Tuesday, September 10, 2013 12:31 PM


  • Hi,

    You could check the Xaml column of the workflow table in the CRM database for workflows that use your custom assembly. Run a query similar to the following:

    SELECT Name, Xaml
    FROM FilteredWorkflow
    WHERE Xaml LIKE '%Custom Assembly Name%'

    Michael Palmer
    xRMPalmer     @MJFPalmer     Rockstar365

    • Proposed as answer by Mamatha Swamy Tuesday, September 10, 2013 1:08 PM
    • Marked as answer by Radevic Tuesday, September 10, 2013 2:00 PM
    Tuesday, September 10, 2013 1:02 PM