exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 28 question 2 discussion

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

You need to configure the trigger for the priority field in the Account entity.
Which expression should you use?

  • A. DIFFINWEEKS(now,1)
  • B. SUBTRACTDAYS(10, Now())
  • C. ADDWEEKS(1, CreatedOn)
  • D. DIFFINDAYS(Createdon, now())
  • E. ADDDAYS(10, CreatedOn)
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

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
Kepty
Highly Voted 2 years, 2 months ago
Selected Answer: E
10 days, not 1 week...
upvoted 17 times
...
Juan0414
Most Recent 2 months, 3 weeks ago
Selected Answer: E
"• A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an Account record is created" "A field named Priority_Trigger must be created to trigger the Priority field." The calculated formula for the priority_trigger is: ADDDAYS(10, CreatedOn) https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/dn832103(v=crm.8)?redirectedfrom=MSDN#calculated-field-functions-syntax
upvoted 1 times
...
pey
6 months, 3 weeks ago
Selected Answer: D
This expression calculates the difference in days between the created date of the Account record and the current date, allowing you to trigger an action based on a specified time interval.
upvoted 1 times
SKIPSKIPPERSON
2 months, 3 weeks ago
I really wanted to agree on D, but DIFFINDAYS(CreatedOn, Now()) trigger will be set to run on the day the record was created (1 Day, or even 0 days) ADDDAYS(10,Now()) will set the trigger to activate 10 days from now. So E
upvoted 1 times
...
...
markjr
11 months ago
Selected Answer: D
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 E, that is the opposite. 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 4 times
hai297
7 months, 3 weeks ago
This is the trigger, not calculate field. "A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an Account record is created." => So The ADDDAYS is look correct most (parameter order is wrong but the function is valid, the other is not exist)
upvoted 1 times
...
...
JurSp
1 year, 1 month ago
Selected Answer: E
I agree on E
upvoted 2 times
...
lezzles11
1 year, 3 months ago
Selected Answer: E
Definitely E!
upvoted 3 times
...
sunnysaru92
1 year, 5 months ago
Selected Answer: E
Agree its E
upvoted 2 times
...
alevalli9
1 year, 8 months ago
Selected Answer: E
10 days correct
upvoted 1 times
...
DimpleG
1 year, 10 months ago
Selected Answer: E
A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an Account record is created
upvoted 2 times
...
CoktaiiL
2 years, 1 month ago
Selected Answer: E
A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an Account record is created.
upvoted 4 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 ...