Friday, July 06, 2018

Dynamics CRM–Finding Workflows connected to SLAs

You need to setup your advanced find like so:

image

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
   <entity name="workflow">
     <attribute name="workflowid" />
     <attribute name="name" />
     <attribute name="category" />
     <attribute name="primaryentity" />
     <attribute name="statecode" />
     <attribute name="createdon" />
     <attribute name="ownerid" />
     <attribute name="owningbusinessunit" />
     <attribute name="type" />
     <attribute name="rendererobjecttypecode" />
     <order attribute="name" descending="false" />
     <filter type="and">
       <condition attribute="category" operator="eq" value="0" />
       <condition attribute="rendererobjecttypecode" operator="in">
         <value>9750</value>
         <value>9751</value>
         <value>9752</value>
       </condition>
     </filter>
   </entity>
</fetch>

No comments: