Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

reassign process ownership in MS dynamics 365 CRM

Posted on by 25

I have about 1000 processes in my MS Dynamics CRM, in the Workflow, Active and Business Process categories. 

These processes are currently assigned to different users but I want to reassign all of them to "System Account" 

I was able to query for all the processes with the following function : 

function getProcess() {
$ErrorActionPreference = "ignore";
$processes = @("Workflow", "Action", "BusinessProcessFlow")
$URL = "xxxxxxxxxxxxxxxxxxxxx";
Connect-CrmOrganization -Name "xxxxxxxxx"
foreach($process in $processes){
Get-CrmProcess -ProcessType $process | Out-File .\output.txt -Append
}
}

I can filter all the processes that are not assigned to the "System Account"

upon further research, when i pipe 

get-crmprocess -Id xxxxxxxxxxx | get-member
 , i get the following : 

ownerid  ............ Property System.Object ............... ownerid {get;set;}
owninguser .............. Property System.Object .............. owninguser {get;set;}

which means these values can be set from the powershell command line 

My challenge now is, what would be the way to access the "Owner" parameter of each individual process from the list and reassign to "System Account"

  • Suggested answer
    Carlo Velasco Profile Picture
    Carlo Velasco 787 on at
    RE: reassign process ownership in MS dynamics 365 CRM

    Hi

    You can use advance find to filter BPF that are not assigned to System Account, and reassign them to the desired user.

  • RE: reassign process ownership in MS dynamics 365 CRM

    Create a view in process, where owner is diferent from system, then select and asing to the owner u want.

    greetings,

    JP

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans