Skip to main content

Notifications

Announcements

No record found.

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

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

Posted on by Microsoft Employee

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

Kindly help me with an explanation.

Tia

  • Sanket87 Profile Picture
    Sanket87 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

  • Suggested answer
    Sumeet_MSFT Profile Picture
    Sumeet_MSFT 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.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans