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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Why is Plugin's depth value 2 during Data Import?

(0) ShareShare
ReportReport
Posted on by

Why is plugin's depth value 2 during data import?

Kindly help me with an explanation.

Tia

I have the same question (0)
  • Suggested answer
    Sumeet_MSFT Profile Picture
    on at
    RE: Why is Plugin's depth value 2 during Data Import?

    Hello Saqib,

    Please find the explanation suggested if you have a similar scenario:

    https://community.dynamics.com/crm/b/nishantranaweblog/posts/ipluginexecutioncontext-depth-is-2-in-create-plugin-during-import-of-records-in-crm-2015-and-earlier

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/249205/plugin-on-create-message---how-to-tell-if-import

    Hope this helps.

    Best regards,

    Sumeet_MSFT

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Sanket87 Profile Picture
    160 on at
    RE: Why is Plugin's depth value 2 during Data Import?

    Every time a running plug-in or Workflow triggers another plug-in or Workflow to execute, the Depth property of the execution context is increased.  So when you import an Out of box import plugin also runs which in turn triggers your plugin

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 159

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 152

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 134 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans