exam questions

Exam MB-400 All Questions

View all questions & answers for the MB-400 exam

Exam MB-400 topic 11 question 3 discussion

Actual exam question from Microsoft's MB-400
Question #: 3
Topic #: 11
[All MB-400 Questions]

You need to configure the trigger for account records.
Which expression should you use?

  • A. ADDWEEKS(1, CreatedOn)
  • B. ADDDAYS(10, CreateOn)
  • C. SUBTRACTDAYS(10, Now())
  • D. DIFFINDAYS(CreatedOn, now())
  • E. DIFFINWEEKS(now, 1)
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Scenario: A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an Account record is created.
DIFFINDAYS (date and time, date and time): Returns the difference in days between two Date and Time fields. If both dates and times fall on the same day, the difference is zero.
Note: Whenever we talk about history, the bone of contention are the below four fields:

CreatedOn -

✑ ModifiedOn
✑ CreatedBy
✑ ModifiedBy
Reference:
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/define-calculated-fields
Configure business process automation

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
mgharably
Highly Voted 4 years, 10 months ago
I think the answer is correct
upvoted 7 times
...
Kirael
Highly Voted 4 years, 10 months ago
The answer is correct ! You need to calculate the difference between the day the Account was created and the day now, if it's more than 10 days, then the trigger do his job ! So DIFFINDAYS give you the difference between two dates ! Here's a link : https://community.dynamics.com/crm/b/crmpowerobjects/posts/how-to-calculate-number-of-days-between-two-date-and-time-fields
upvoted 5 times
...
mastermind01
Most Recent 4 years, 5 months ago
Answer Should be B cause question is mentioning that the priority value should be 1 after 10 days. ADDDAYS(10,CreatedOn). https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/define-calculated-fields
upvoted 1 times
...
Druey
4 years, 6 months ago
It cannot be Add days, as many of you are trying to suggest. First because the AddDays function in the flow to use in the Delay Until block is written here As "ADDDAYS". That suggests me that is referred to a calculated field. Second, the AddDays function that can be used in the flow takes as a first argument the starting date and then the days that have to be added. In answer b, that is the opposite. However I cannot understand how it is possible that a calculated field is a trigger for a workflow or a powerautomate
upvoted 4 times
...
samah1987
4 years, 10 months ago
The answer is B (10 days after ...)
upvoted 2 times
TaiH
4 years, 10 months ago
I agree with you
upvoted 1 times
...
...
ClairFraser
4 years, 10 months ago
Should be AddDays (using the Delay action): https://powerusers.microsoft.com/t5/Using-Flows/Wait-for-specified-time/td-p/360424
upvoted 2 times
ClairFraser
4 years, 10 months ago
Actually it all depends on what you chose on the previous answer for the account update of priority field -> If Flow -> then B here, If Workflow -> then the answer is correct and it's D here
upvoted 6 times
mgharably
4 years, 9 months ago
totally, agree with you
upvoted 2 times
RandomUser
4 years, 4 months ago
This time I have to disagree with you. The signature for Flow's AddDays is sadly date, number and not as presented here. So it cannot be B. Which also implies, Microsoft wants to hear Workflow in the question above.
upvoted 1 times
...
...
...
...
danosagi
4 years, 11 months ago
Why D not B? Both work if using workflow?
upvoted 4 times
Bond007a
4 years, 10 months ago
B says “CreateOn” which isn’t a valid field name, I’m guessing.
upvoted 3 times
RandomUser
4 years, 4 months ago
the format for Flow/PowerAutomate AddDate is wrong. It is date, number and not as presented here!
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago