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 ADX-211 Exam - Topic 9 Question 56 Discussion

Posted by Charlie on Sep 14, 2024 at 11:55 PM

The administrator at Cloud Kicks noticed that a before trigger, which handles saving the original version of a record to an external database, fails. However, a flow configured for fast field updates runs successfully.

How should the administrator advise the developer?

Get Premium ADX-211 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
32 comments · newest first
DI
Dick 11 months ago
I agree with A, flows have priority over triggers for sure.
YV
Yvonne 11 months ago
D seems unlikely, but who knows? Surprised if that's the case!
JO
Johnna 12 months ago
C sounds plausible, maybe the trigger is misconfigured.
TW
Twanna 12 months ago
I think B could be the issue too, validation rules can be tricky.
GE
Gertude 1 year ago
A is definitely true, before save flows run first.
CA
Carmelina 1 year ago
I have a feeling that duplicates could be a problem, especially if the trigger is trying to save the same record multiple times.
FR
Frederica 1 year ago
The idea of the trigger writing to the wrong place sounds plausible, but I can't recall if that's a common issue with external databases.
JO
Jose 1 year ago
I think I saw a similar question where a validation rule was causing issues, so option B might be worth considering.
WE
Werner 1 year ago
I remember something about how before triggers and flows interact, but I'm not entirely sure if they run in the same order.
KI
Kip 1 year ago
Ah, I see what's going on here. The trigger is likely trying to do something that's being blocked, while the flow is able to bypass that issue. I'm going to go with option B.
TR
Trevor 1 year ago
This looks like it could be a good opportunity to apply my knowledge of Salesforce automation. I'm going to carefully consider each option and think through the potential causes.
AD
Adolph 1 year ago
I'm a bit confused by this one. The information provided is a bit limited, so I'll need to make sure I understand the key details before selecting an answer.
CO
Cordelia 1 year ago
Okay, let's see here. The trigger is failing, but the flow is working, so that's an interesting clue. I'm leaning towards option B, but I'll double-check the others just to be sure.
DO
Dorothy 1 year ago
Hmm, this seems like a tricky one. I'll need to carefully read through the options and think about the order of execution for triggers and flows.
JE
Jesusita 2 years ago
Ah, the joys of Salesforce development. At least the flow is working, right? Silver linings and all that.
TA
Tammara 2 years ago
↳ replying to Jesusita
C) The trigger is writing the data to the wrong place in the external data archive.
EL
Elke 2 years ago
↳ replying to Jesusita
B) A validation rule could be preventing records from ever meeting the conitions in the trigger.
KA
Katy 2 years ago
↳ replying to Jesusita
A) Record-triggered flows that are configured to run before save execute prior to all before triggers.
JE
Jesus 2 years ago
Haha, this sounds like a classic 'who broke the build' scenario. I bet the developer is pulling their hair out trying to figure this one out.
AL
Alverta 2 years ago
Could be a validation rule causing the problem.
LE
Lenita 2 years ago
I'm not sure, but I'd probably go with D. The code could be trying to create duplicates that the external system won't allow.
TA
Tanesha 2 years ago
↳ replying to Lenita
D) The code could be trying to create duplicates in the archieve when it is unable to.
JU
Justine 2 years ago
↳ replying to Lenita
C) The trigger is writing the data to the wrong place in the external data archive.
DA
Daron 2 years ago
↳ replying to Lenita
B) A validation rule could be preventing records from ever meeting the conitions in the trigger.
CA
Casie 2 years ago
↳ replying to Lenita
A) Record-triggered flows that are configured to run before save execute prior to all before triggers.
AS
Ashlee 2 years ago
Maybe the flow is interfering with the trigger.
KE
Keith 2 years ago
C seems most likely to me. The developer might be trying to write to the wrong place in the external database.
VE
Veda 2 years ago
I think the answer is A. The flow runs before the trigger, so it makes sense that the trigger would fail.
SH
Sharita 2 years ago
↳ replying to Veda
C) The trigger is writing the data to the wrong place in the external data archive.
SH
Shala 2 years ago
↳ replying to Veda
B) A validation rule could be preventing records from ever meeting the conitions in the trigger.
VA
Vanda 2 years ago
↳ replying to Veda
A) Record-triggered flows that are configured to run before save execute prior to all before triggers.
AL
Alverta 2 years ago
I think the trigger is the issue.
0/2000 characters

Save Cancel