Dude, Where’s My Workflow?

Wednesday, April 27, 2016

There is no built view in Microsoft Dynamics CRM that shows the different solutions to which a component (such as Workflow Rule) is related. If you have many solutions, iterating through all of them can be exhausting and time consuming. The following query retrieve all solution which contain a Workflow Rule named testwf: <fetch version="1.0" mapping="logical">    <entity name="solution">        <attribute name="friendlyname"></attribute>        <link-entity name="solutioncomponent" from="solutionid" to="solutionid" >                      <link-entity name="workflow" from="workflowid" to="objectid">                <filter>                    <condition attribute="name" operator="eq" value="testwf"></condition>                       </filter>                                    </link-entity>        </link-entity>         </entity></fetch> The solutioncomponent entity binds elements such as Workflow Rule to Solutions. The solutionid attribute maps each solutioncomponent...
no comments

Asynchronous Batch Process Solution Revisited – part 3

Monday, August 10, 2015

In the previous post, I walked through the ABP Target Records Scenario. In this post, I’ll go through the Aggregative Query Scenario. Prerequisites 1. Download the Asynchronous Batch Process Solution, import into Microsoft Dynamics CRM 2015 on-premise/Online organization2. Go to Settings – > Solutions and Open the ABP solution. Go to the Batch Process entity definition and check the Settings checkbox in the ‘Areas that display this entity’ section3. Save and publish the solution As always, I advise against publishing any external solution on your production environment without testing it first. Aggregative Query Scenario ...