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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Triggering Business rule

(0) ShareShare
ReportReport
Posted on by 21

The below question was asked In the exam preparation for MB 400. Anyone know what is the right answer?

 

Q: An organization implements Dynamics 365 Sales. 

You need to trigger a business rule when a form is saved. 

What should you do? Choose One 

  1. Write a business rule to trigger on a change of ModifiedOn field.
  2. Set the scope of the business rule to All Forms
  3. Set the scope of the business rule to Entity.
  4. Set the scope of the business rule to one specific form where business rule triggers.
  • Suggested answer
    protc Profile Picture
    Microsoft Employee on at

    Hi Dug,

    Thank you for the Query.

    I would Choose One (1).

    Write a business rule to trigger on a change of ModifiedOn field.

  • Suggested answer
    Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    Set the scope of the business rule to Entity is the correct answer.

    When the scope is set to Entity, business rule is executed on server side.

    To elaborate more, Business Rules execute on-change of a field, there is no on-save event available for the Business Rule. 

    However, to run a Business Rule on save, we can set it's scope to Entity.

    This way, Business Rule do not run on-change of a field's value, rather it executes on server side save operation (however this is till pre-save, you can throw validation errors so the data is not saved). 

    You can test this as following:

    • Add a form level Business Rule (click on the Business Rules on the Form header, do not add a business rule on a Field Properties).
    • Add a condition (any).
    • Add an Action on true path of the condition.
    • Set the scope to the current or all forms.
    • Activate the BR and test your scenario, it should not work.
    • Then deactivate the BR and set it's scope to Entity.
    • Activate and test the scenario, it should work.

    In short, adding a condition on Modified on is not necessary, you can add any condition as per your requirement, but scope should be Entity in order to execute on save.

    I hope this answers your query, feel free to discuss if you have doubts.

    Best,

    Wahaj

    (if it helps, mark it verified)

  • Suggested answer
    dug Profile Picture
    21 on at

    I agree, Thanks.

  • Wahaj Rashid Profile Picture
    11,323 on at

    Hi,

    My pleasure.

    For future readers, please mark the correct answer as verified.

    Thanks,

    Wahaj

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 96

#2
11manish Profile Picture

11manish 88 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 84

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans