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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Business rules executi...
Power Apps
Suggested Answer

Business rules execution order

(0) ShareShare
ReportReport
Posted on by 971

Hi experts,

 

I have a workflow, plugin and Business rule with scope as Entity.

 

I would like my workflow to execute first then my plugin and last my business rules should execute.

 

Is this possible?

I know we can set execution order of the plugin and workflow but how do we set execution order of the business rules.

 

Thanks,

Bipin

I have the same question (0)
  • Bipin D365 Profile Picture
    971 on at

    Hi @rampprakash , @a33ik , @dpoggemann 

     

    Any pointers on this would be highly appreciated.

     

    Thanks,

    Bipin

  • Ram Prakash Duraisamy Profile Picture
    5,846 Super User 2026 Season 1 on at

    Hello @bipinshan 

     

    As per OOB Behavior there is some place available to set Execution Order for Plugins or Workflow.

     

    I tried Searching but unfortunately i cannot find a place to change the same for Business Rule

     

    Note:

     

    its like on Load of Page how come we cannot change JavaScript / Business Rule trigger first.

     

    Lets wait for other comments too 🙂

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

     

  • meelamri Profile Picture
    468 on at

    Hi, 

     

    Please refer to this tool available on xrmToolBox: https://www.xrmtoolbox.com/plugins/MsCrmTools.SynchronousEventOrderEditor/

     

    I'm not sure if we'll be able to manage the order for business rules with scoop entity.

    If you really want to have full control over your executions, I recommend you to switch to Workflows and Plugins.

     

    Good Luck !!

  • urklnme Profile Picture
    168 on at

    Hello experts out there,

     

    this is a good topic for someone to expand and explain the complete picture of the order of execution of plugins, business rules, workflows, and PA flows execute.  anyone? 

     

    i know I have read some conflicting info online.

  • Suggested answer
    Helio Ferreira Profile Picture
    Microsoft Employee on at
    Yes you can control wich is executed fist with the XrmToolBox  -MsCrmTools.SynchronousEventOrderEditor
     
     
     
    in this case i changed the plugin to run after the Business rule : 
     
     
     
     
    This works and respect the order to get the plugin first set it -1 and if you want it after set to 2
    this also can be defined when the plugin is created 
    Let me know if this helps.
  • urklnme Profile Picture
    168 on at
      I could be wrong, but I think the modified on date is the predictor of the order.
     
    its either that or the order in which they were activated.
  • Suggested answer
    11manish Profile Picture
    2,401 on at
    No, it is not possible to control the execution order between Workflow, Plugin, and Business Rule in the way you described.
     
    • Workflows always run after the database operation
    • Plugins run inside the transaction
    • Business Rules do not support execution order configuration
    If strict ordering is required, the recommended approach is to implement the logic inside plugins and control the execution order using plugin step numbers.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 833

#2
Valantis Profile Picture

Valantis 563

#3
Haque Profile Picture

Haque 383

Last 30 days Overall leaderboard