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

Plugin not triggering

(0) ShareShare
ReportReport
Posted on by

We have one of our plugins on Create of Account. 

During Manual account creation the plugin is triggering and throwing exception as expected.

During data import plugin is not triggering

I have the same question (0)
  • Luis Arellano Profile Picture
    36 on at
    RE: Plugin not triggering during data import

    Like Bipin Kumar said, you can remove the Depth validation.

    Reason is, Depth can help to prevent loops in recursive calls but it is not only used for that, it lets you know where you are in the execution path.

    It works when you manually trigger it because you (the user)  triggers the "create" request so, the execution path of this action that was manually/directly created is Depth = 1.

    In your scenario, you (the user) starts an import job (Depth = 1), and then that process (import job) is sending the "create" request (Depth = 2).

    In a hypothetical scenario where you trigger a Workflow or Plug-in (Depth = 1), then that process starts an import Job (Depth = 2), then you will have a "create" message with Depth = 3.

    Hope this makes sense.

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: Plugin not triggering during data import

    Hi,

    If your plugin is only registered on create message then you don't need to check for depth property.

    Depth is used For update 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 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 182

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans