Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

How to change Owner value when record was cascade assigned

(1) ShareShare
ReportReport
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? 

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans