Exam4Training

Which expression should you use?

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)

Answer: D

Explanation:

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

Latest PL-400 Dumps Valid Version with 171 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version