I have a user that is no longer with the company and this specific user is tied to multiple workflows. I would like to check all components tied with dependency to this particular user, is there a good way to do this?
I tried check dependency of the fullname under user entity but this parameter is too large and I would like to narrow it down to specific user only.
this works perfectly, thank you.
When you have a condition in the process, CRM will create XAML as shown below
<InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.EntityReference, "systemuser", "Test Test", ConditionBranchStep2_3, "Lookup" }]</InArgument>
When you use a user in lets say an Assign Step, crm will create the following in XAML
<InArgument x:TypeArguments="s:Object[]" x:Key="Parameters">[New Object() { Microsoft.Xrm.Sdk.Workflow.WorkflowPropertyType.EntityReference, "systemuser", "Test Test", AssignStep3_2, "Lookup" }]</InArgument>
So it does not matter how the user is referenced in the process, the XAML will have the name so you can query as shown below
Could you please try the following query usign FetchXML builder on XrmToolBox?
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true" >
<entity name="workflow" >
<filter type="and" >
<condition attribute="xaml" operator="like" value="%name or name part%" />
</filter>
</entity>
</fetch>
Hi Kokulan,
unfortunately that is not my goal. I need to identity workflow with this user within workflow logic, either it has conditional check against this user, or have entity reference update to this user.
Hi
If you would like to find all the processes owned by this user, Workflow, Action, BPF and other, you can use the following query
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156