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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 123

#2
Hamza H Profile Picture

Hamza H 112 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans