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 365 | Integration, Dataverse...
Answered

How will plugins behave for Execute batch operation ?

(0) ShareShare
ReportReport
Posted on by 155

I´m trying to understand some basics how Batch Execute Operation work. If I execute a batch request containing 5 new rows on an entity that has a plugin that triggers on onCreate event, will this plugin run 5 times in that case? Or will the plugin trigger 1 time?

I have the same question (0)
  • CRMReally Profile Picture
    5 on at

    imho

    find some sample code in the sample sdk that does this and test it out

    good learning experience 

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Plugin will run 5 times for 5  new rows created using batch request.

    Dynamics CRM platform will treat each record as new request and each row has to go through the plugin pipeline stages.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans