Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform App Builder All Questions

View all questions & answers for the Certified Platform App Builder exam

Exam Certified Platform App Builder topic 1 question 438 discussion

Actual exam question from Salesforce's Certified Platform App Builder
Question #: 438
Topic #: 1
[All Certified Platform App Builder Questions]

Cloud Kicks (CK) is finding sales reps are inconsistent in data entry when deals are won. CK requires that custom shoes are shipped within two weeks after the close date. A custom field called Scheduled Ship Date on the opportunity records the ship date.
How should the app builder ensure this field is properly filled out before setting the opportunity to closed won?

  • A. ISPICKVAL( StageName ,ג€Closed Wonג€) && ( Scheduled_Ship_Date__c - CloseDate) > 14
  • B. OR(ISPICKVAL( StageName ,ג€Closed Wonג€) && ( Scheduled_Ship_Date__c - CloseDate) > 14, ISBLANK(Scheduled_Ship_Date__c))
  • C. OR(ISPICKVAL( StageName =ג€Closed Wonג€) && ( Scheduled_Ship_Date__c - CloseDate) > 14, ISBLANK(Scheduled_Ship_Date__c))
  • D. ISPICKVAL( StageName =ג€Closed Wonג€) && ( Scheduled_Ship_Date__c - CloseDate) > 14
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ars_kazu
Highly Voted 3 years, 2 months ago
I think option B is the correct answer. Isn't ISPICKVAL(picklist_field, text_literal) the correct way to write it?
upvoted 8 times
sivsiv
3 years, 2 months ago
Probably B. For A, the shipping date might be left empty for years and the rules won't be triggered. In case, B however you are forced to fill in the shipping date immediately once the opportunity is created. C and D, the is the format for ispickval is incorrect...
upvoted 2 times
...
...
Nikkiu
Highly Voted 2 years, 9 months ago
Selected Answer: A
Tested this, A is the answer
upvoted 8 times
...
Rangya
Most Recent 3 months, 3 weeks ago
Selected Answer: A
Blank check with OR condition doe snot make sense as it will fire even if stage != closed won. Out of remaining A and D, syntactically A is correct.
upvoted 1 times
...
YOOGI1234
8 months ago
Selected Answer: B
Option A is wrong because Scheduled_Ship_Date__c is Blank then validation will not trigger. Option B is the correct.
upvoted 1 times
...
docxdmd
1 year, 2 months ago
Selected Answer: A
It is not B for the reasons I said below my incorrect comment.
upvoted 1 times
...
docxdmd
1 year, 3 months ago
Selected Answer: B
A and D don't include if the field is blank. B and C are almost the same except C has incorrect syntax, it should be a "," not an "=" sign after StageName. This code will make it so that the user will get an error message when they try to set the StageName to closed won if either the Scheduled Ship date for shoes is greater than 14 days OR is blank.
upvoted 1 times
docxdmd
1 year, 2 months ago
Never mind its A, the OR is position so that its (closed won AND >14 days) OR (blank). As someone else pointed out this validation rule will fire all the time until a date is set which would be a problem. Its better for the field to remain blank and the opportunity not closed than it is to have to write a false shipping date just to save the record.
upvoted 2 times
...
...
t_samuel
1 year, 3 months ago
Selected Answer: B
B, because the filed need to be filled.
upvoted 2 times
...
[Removed]
1 year, 7 months ago
Selected Answer: A
I think answer B is wrong because it will not be possible to save records that have not been closed and the estimated shipping date has not been decided.
upvoted 3 times
...
Sasi7
1 year, 9 months ago
The correct answer is option C: "OR(ISPICKVAL( StageName ='Closed Won') && ( Scheduled_Ship_Date__c- CloseDate ) > 14,ISBLANK(Scheduled_Ship_Date__c))". This formula evaluates two conditions: If the Opportunity stage is set to "Closed Won" and the difference between the Scheduled Ship Date and Close Date is greater than 14 days, then this condition returns false. If the Scheduled Ship Date field is blank, then this condition returns false. The formula uses the OR function to combine these two conditions, so that if either condition is true, then the formula returns true. This ensures that the field Scheduled Ship Date is filled out before setting the opportunity to Closed Won, otherwise, the opportunity record won't be saved.
upvoted 1 times
Sasi7
1 year, 9 months ago
My bad. The correct answer is option B. The correct syntax would be: ISPICKVAL(StageName, "Closed Won") This formula will return TRUE if the StageName is "Closed Won" and FALSE if it is not.
upvoted 3 times
...
...
IamAshish
1 year, 11 months ago
A is correct. in B option ISBLANK is checked without stage name.
upvoted 2 times
...
sf2022
2 years, 3 months ago
Selected Answer: B
Ans is B OR(ISPICKVAL( StageName ,'Closed Won") && ( Scheduled_Ship_Date__c - CloseDate ) >14,ISBLANK(Scheduled_Ship_Date__c))
upvoted 4 times
...
Jacquealine71
2 years, 8 months ago
B, OR(ISPICKVAL(StageName,Close Won)&& ( Scheduled_Ship_Date__c - CloseDate) > 14, ISBLANK(Scheduled_Ship_Date__c))
upvoted 3 times
...
mouamed4
2 years, 10 months ago
Selected Answer: B
ISPICKVAL(picklist_field, text_literal) is the correct one
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 ...