我在Dynamics 365 CE中注册了一个自定义工作流程步骤。如何找到包含该工作流程步骤的所有工作流程?
答案 0 :(得分:4)
一种免代码的方式是
Plugin Assemblies
Show Dependencies
答案 1 :(得分:0)
答案的要点是编写FetchXML来检查xaml
实体的workflow
属性。
例如寻找插件Example.WorkflowStep
<fetch distinct="true" >
<entity name="workflow" >
<attribute name="createdon" />
<attribute name="primaryentity" />
<attribute name="statecode" />
<attribute name="workflowid" />
<attribute name="ownerid" />
<attribute name="type" />
<attribute name="owningbusinessunit" />
<attribute name="name" />
<attribute name="category" />
<attribute name="xaml" />
<filter type="and" >
<condition attribute="type" operator="eq" value="1" />
<condition attribute="statecode" operator="eq" value="1" />
<filter type="and" >
<condition attribute="rendererobjecttypecode" operator="null" />
<condition attribute="xaml" operator="like" value="%Example.WorkflowStep%" />
</filter>
</filter>
<order attribute="primaryentity" />
</entity>
</fetch>