exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 4 question 10 discussion

Actual exam question from Microsoft's PL-400
Question #: 10
Topic #: 4
[All PL-400 Questions]

An organization implements Dynamics 365 Sales.
You need to trigger a business rule when the main form in saved.
What should you do?

  • A. Write a business rule to trigger on a change of ModifiedOn field.
  • B. Set the scope of the business rule to one specific form where business rule triggers.
  • C. Set the scope of the business rule to All Forms.
  • D. Set the scope of the business rule to Entity.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gallego82
Highly Voted 3 years, 8 months ago
The correct answer is "D" as indicated in the official Microsoft documentation in the first paragraph of limitations: "Business rules run only when the form loads and when field values change. They do not run when a record is saved, unless the scope for the rule is set at an entity level." Source: https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/admins-customizers-dynamics-365/mt826761(v=crm.8)?redirectedfrom=MSDN#limitations
upvoted 56 times
justraj
3 years, 5 months ago
but this will trigger on all forms, but the question is about main form only
upvoted 7 times
TKMod
2 years, 10 months ago
the question doesn't say "only". It only says on main form. this doesn't exclude other forms. It has to be D because all other options will not trigger any save-events. D would run on server and therefore it will run after somesone saved the form.
upvoted 3 times
...
...
...
Robbie2020
Highly Voted 3 years, 10 months ago
In a very strong field this is the worst question I've seen in one of these exams.
upvoted 30 times
...
KaustubhTendulkar
Most Recent 1 week, 3 days ago
Selected Answer: D
D is correct
upvoted 1 times
...
Juan0414
2 months, 2 weeks ago
Selected Answer: D
D Correct!
upvoted 1 times
...
markjr
11 months, 1 week ago
Selected Answer: D
Correct
upvoted 1 times
...
At09
1 year, 1 month ago
ANSWER IS d
upvoted 1 times
...
MikeAWS
1 year, 2 months ago
The correct answer is B. Set the scope of the business rule to one specific form where business rule triggers. Here are the reasons why: To trigger a business rule when the main form is saved, you need to set the scope of the business rule to the specific form. This will ensure that the business rule is only triggered when the form is saved. If you set the scope of the business rule to All Forms, the business rule will be triggered whenever any form is saved. This is not what you want in this case. Setting the scope of the business rule to Entity will not trigger the business rule when the form is saved. The entity scope is used to trigger business rules when an entity is created, updated, or deleted.
upvoted 1 times
...
jkaur
1 year, 3 months ago
correct answer is "D"
upvoted 1 times
...
Domki98
1 year, 6 months ago
Selected Answer: D
Just carefully read the text... Yeah it says "when the main form..." but it doesn't say "only" so just stick with the D and have an amazing day! :D
upvoted 5 times
...
crushy
1 year, 8 months ago
By the way: You can just say "All Forms" and not choose a specific form. So I'll go with 'D'...
upvoted 1 times
...
Fyrus
1 year, 9 months ago
Selected Answer: B
The questions specifically say that it should run only in the main form.
upvoted 2 times
markjr
11 months, 1 week ago
Where do you see the word "only"?
upvoted 1 times
...
...
SashM
1 year, 10 months ago
Selected Answer: B
Need to trigger only on Main form. so B is correct. Scope: The scope of the business rule determines which forms the business rule will be applied. You set the scope, according to the following: If you select this item... The scope is set to... Specific form (account Main Form, for example) Just that form Reference : https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/create-business-rules-recommendations-apply-logic-form#create-a-business-rule-or-business-recommendation
upvoted 3 times
...
Violoncello
2 years, 4 months ago
This is a bad question. If business rules are limited and can't accurately respond to the ask, I'll write a JavaScript function "MainForm_OnSave" and apply it to the OnSave event of the main form.
upvoted 1 times
Violoncello
2 years, 4 months ago
Alternatively, both A and B have to be applied: set scope to the main form, trigger when the modifiedon date changes.
upvoted 2 times
Flatternschuchtern
2 years, 2 months ago
Whatcha gonna do if Modified On not on a form? :D
upvoted 1 times
...
...
...
CinthiaN
2 years, 9 months ago
Selected Answer: D
The primary scenarios for working with the process trigger entity are: 1. Clone a business rule that is applied to one or more forms to another form. 2. Modify a business rule that is applied to one or more forms so that it applies to all forms. 3. Modify a business rule that is applied to all forms so that it applies only to one or more specific forms. 4. Register a business rule to be applied on the Save event.
upvoted 3 times
...
Anastasii
2 years, 11 months ago
Without any doubt, the correct answer is D.
upvoted 3 times
...
rrodriguez
3 years, 6 months ago
the correct answer is "B" -----> "When de MAIN FORM is saved"
upvoted 4 times
ETU69
3 years, 1 month ago
You can set the scope of a BR to 'Specific form' which will set the scope to 'Just that form'. I would go for 'B' based on Microsoft documentation. https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/create-business-rules-recommendations-apply-logic-form#create-a-business-rule-or-business-recommendation
upvoted 2 times
...
...
KenCraw
3 years, 6 months ago
Everyone is strongly voting "D", but I am going to side with my "B" brothers. Setting it to Entity would set it to all forms (technically right, as would run on main, but not ONLY main), and the question is asking about the main form. I am going to err that they won't specify, unless they want answer specified as well, So I stand by "B" Just take a look: https://ledgeviewpartners.com/blog/3-business-rule-scopes-in-microsoft-dynamics-365-crm-and-how-they-apply/
upvoted 4 times
KenCraw
3 years, 6 months ago
Really hate this question, If it is true that: "Business rules run only when the form loads and when field values change. They do not run when a record is saved, unless the scope for the rule is set at an entity level." (As per malyaban's comment) Then it has to be "D" (Hate the wording on these questions, apologies for above comment/confusing) (Moderator, fee free to delete both comments if you see)
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...