Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Plat-Dev-210 Exam - Topic 2 Question 5 Discussion

Posted by Shenika on Oct 08, 2025 at 03:29 AM

A developer writes an OmniScript that includes a DataRaptor that updates the Account status based on information provided from the OmniScript. The information must be updated only if the Account record already exists. Otherwise, a new account must be created.

How should the developer accomplish this task?

Suggested Answer: B

The Upsert Key checkbox indicates that the field is used as a key for upserting records. The Is Required for Upsert checkbox indicates that the field is mandatory for upserting records. The developer needs to check both checkboxes on the Account Id field to update the Account status only if the Account record already exists. Otherwise, a new account will be created.


Get Premium Plat-Dev-210 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
32 comments · newest first
LE
Levi 7 months ago
C is not relevant here, we need to focus on the Id.
LE
Leah 8 months ago
Option A seems too limited.
TE
Teri 8 months ago
Exactly! Without that, the update won't work.
LE
Levi 8 months ago
I agree, it ensures the Account Id is handled properly.
LE
Leah 9 months ago
Yeah, checking both Upsert Key and Is Required for Upsert seems right.
TE
Teri 9 months ago
I feel like option B makes the most sense.
LE
Leah 9 months ago
This question is tricky. I think it’s about handling existing records.
SH
Shaquana 9 months ago
Wait, can you really upsert without the Account Id? That seems off.
PR
Precious 9 months ago
Totally agree with B, it's essential for the process!
AN
Annett 9 months ago
C sounds interesting, but does it really apply here?
EL
Eleonora 10 months ago
I think A is enough, why complicate it?
TH
Theodora 10 months ago
B is the right choice, you need both checkboxes for proper upsert.
LI
Lizbeth 10 months ago
I think option D might be relevant if we're trying to avoid overwriting existing data, but I’m not sure if it applies here since we need to create a new account if it doesn’t exist.
TO
Tony 10 months ago
I’m a bit confused about the Lookup Object and Lookup Fields. Do we really need to populate those for this scenario, or is that more relevant for different types of data operations?
KA
Kattie 10 months ago
This question is a real head-scratcher. I'm going to go with B) and hope for the best. Upsert is like a magical unicorn, you know?
KR
Krissy 10 months ago
I remember practicing a similar question where we had to decide on the Upsert Key settings. I feel like option B makes the most sense since it mentions both the Upsert Key and Is Required for Upsert.
KA
Karma 11 months ago
I think the key here is to ensure that the Account Id field is set up correctly for the upsert operation, but I'm not entirely sure if both checkboxes need to be checked.
LE
Leah 11 months ago
So, B it is!
TE
Teri 11 months ago
D could lead to data loss if not careful.
FA
Fausto 11 months ago
A) seems like a good option, but it might not be enough to handle the case where the record doesn't exist.
PA
Paola 12 months ago
D) is a bold choice, but I don't think it's the right one. Overwriting all null inputs might not be the best approach here.
DO
Dottie 12 months ago
C) is the way to go. Populating the Lookup Object and Lookup Fields will allow the DataRaptor to check if the Account record exists before updating it.
LO
Lorrine 1 year ago
B) is the correct answer. Checking the Upsert Key and Is Required for Upsert checkboxes on the Account Id field will ensure that the record is updated if it already exists, or a new record is created if it doesn't.
LA
Layla 1 year ago
I'm leaning towards option B. Checking the Upsert Key and Is Required for Upsert checkboxes on the Account Id field should ensure we only update existing records, and not create new ones.
BR
Brock 1 year ago
Based on the question, it sounds like we need to check if the Account exists first, and then update the status if it does. Option B seems like the most straightforward approach to handle that.
ZO
Zona 1 year ago
I'm a bit confused on the difference between Upsert and creating a new record. I'll need to review the DataRaptor documentation to make sure I understand that properly.
TA
Tayna 1 year ago
Okay, let's see. I think the key is to make sure the Account record already exists before trying to update the status. Maybe option B or C could work for that?
TO
Tom 1 year ago
Hmm, this seems like a tricky one. I'll need to think through the different options carefully.
TO
Tori 7 months ago
↳ replying to Tom
D seems risky. Overwriting nulls might cause issues.
RO
Roselle 7 months ago
↳ replying to Tom
I’m leaning towards C. The Lookup Fields are crucial for this.
MA
Mattie 7 months ago
↳ replying to Tom
Yeah, but what about option A? It could work too.
JO
Josphine 11 months ago
↳ replying to Tom
I think option B makes the most sense. It ensures the Account Id is set correctly.
0/2000 characters

Save Cancel