Skip to main content

Notifications

Microsoft Dynamics CRM forum
Unanswered

How to change Owner value when record was cascade assigned

Posted on by 35

Hi,

We are having problems with cascade assign record to one user  who did not have the privilege as the record owner.

For example: 

We set the entity A and entity B relationship rule with cascade assigned,  the User C has the privilege for entity A as record Owner, but for entity B record it does not have the privilege.  When we try to assign one record a1 to user C, we plan to use user D instead C as the owner for a1 sub record b1, as C does not have the privilege and the action will be failed. 

1. We tried to register one plugin on Entity B, when Owner changed the plugin will check the owner,  if it is C, plugin will change it to D. It will work well when we change the b1 record directly,  the owner will change to user D. But when we change record a1 owner to trigger the cascade assign to change the record b1, the system will be pop up error: no privilege. 

PS: We tried to set the plugin with message: Update (owner)/Assign , Stage: Pre-validation.  It looks like update the entity B records will triggered the plugin, but the cascade assign will not touch this logic.

 

Can somebody explain to me why this is? Or any other suggestion to resolve this? 

Categories:

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans