web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

how Context.depth Works for multiple plugins

(0) ShareShare
ReportReport
Posted on by

Hi, I have three entities; Account > Contact > Address

On Update of Account In and Updating the Contact and on Update of Contact I'm updating the Address.

I'm confused on below things,

1. Wil the context be same for all the three operation?

2. how the context.Depth will get updated in each cases.


I have the same question (0)
  • Verified answer
    Charles Abi Khirs Profile Picture
    3,569 on at

    Hello,

    If you are updating the account in CRM and you have registered a plugin on the account update => context.depth = 1

    If you are updating the contact in CRM and you have registered a plugin on the contact update => context.depth = 1

    If you are updating the address in CRM and you have registered a plugin on the address update => context.depth = 1

    If you are updating the contact from the account plugin (that is triggered after an update in CRM) and you have registered a plugin on the contact update => context.depth = 2

    If you are updating the address from the contact plugin that is updated from the account plugin (that is triggered after an update in CRM) and you have registered a plugin on the address update => context.depth = 3

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans