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 :
Microsoft Dynamics CRM (Archived)

Context.depth

(0) ShareShare
ReportReport
Posted on by

Does anyone know what this means?

I have a plugin running giving me a context depth error.

I would need a layman terms explaining what this means. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Drew Poggemann Profile Picture
    4 on at

    Hi Tekwise,

    Explained in detail here...

    crmbusiness.wordpress.com/.../stopping-infinite-plugins-with-parameters-depth-and-parentcontext

    Hope this is what you were looking for.

    Thanks much,

  • Verified answer
    Alagunellaikumar Profile Picture
    6,212 on at

    It is nothing but, an infinite calling the method. For example

    You have a workflow(trigger by when status field change) in which an account is updated. You have account plugin and it is configured as "update" message post operation. In that plugin you did update the account status.

    In the above what happens, if the workflow trigger first workflow and then call plugin and then from plugin it call same workflow. So it continuously looping.

    To avoid this CRM by default they given how much looped it went, so you use context.depth >1 return in plugin code.

    If you find answer Please mark as verified.

  • Taylah Melocco Profile Picture
    5 on at

    Context depth is very helpful for us in understanding of some important points about others are also interested to know. Hiring writing help with follow of essaysontime review is very good with students save their selves from fake writers.

  • Community Member Profile Picture
    on at

    For understanding of contest depth this is a very helpful solution as you bring that for users in this post. Followers can get lots of benefits with use of it in boomessays their relevant working needs. Hope you will share more on here.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans