Skip to main content

Notifications

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

Target Entity on Post Operation

Posted on by 325

Hi All, 

My understanding is that Target entity can only be updated during Pre-Operation without the need to call the update operation. We had a Post Operation plugin where we merge the post image to the target entity, but what happens is, the merged data to the target entity was considered as 'dirty' fields, thus, triggers an update on the target.

Does target also updates during Post Operation? 

Thanks! 

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Target Entity on Post Operation

    Hi,

    It does not update without service.Update in post operation plugin.

    What you mean by Merge the post image to target entity?

    Please share your code.

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: Target Entity on Post Operation

    Hi PDCM,

    I think you need to clarify more. As per my understanding, you are looking for depth. For more information: IExecutionContext.Depth Property (Microsoft.Xrm.Sdk) | Microsoft Learn. This will help you to stop the behaviour.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans