Skip to content

Instantly share code, notes, and snippets.

@AshV
Created April 12, 2023 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AshV/08b9e4edfe8ab3b39a1772f987d01272 to your computer and use it in GitHub Desktop.
Save AshV/08b9e4edfe8ab3b39a1772f987d01272 to your computer and use it in GitHub Desktop.
FetchXml query to list out all cloud flows in an environment along with solutions where they are added
<fetch>
<entity name="solutioncomponent">
<link-entity name="solution" to="solutionid" from="solutionid" alias="solution" link-type="inner">
<attribute name="solutionid"/>
<attribute name="friendlyname"/>
</link-entity>
<link-entity name="workflow" to="objectid" from="workflowid" alias="flow" link-type="inner">
<attribute name="workflowid"/>
<attribute name="name"/>
<filter>
<condition attribute="category" operator="eq" value="5"/>
</filter>
</link-entity>
<filter>
<condition attribute="componenttype" operator="eq" value="29"/>
</filter>
</entity>
</fetch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment