Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Process Automation Topic 1 Question 34 Discussion

Actual exam question for Salesforce's Process Automation exam
Question #: 34
Topic #: 1
[All Process Automation Questions]

The architect is designing a flow where a screen flow is used to create a contact and display a

confirmation screen. While the confirmation screen is displayed, remote API is invoked to update

the contact in the external system. The update fails. How should the architect resolve the design?

Show Suggested Answer Hide Answer
Suggested Answer: A

In the scenario where a remote API update fails after creating a contact through a screen flow, incorporating an error handling mechanism within the flow is essential. This allows the flow to gracefully handle exceptions and errors, providing feedback or rollback options as necessary. Regular testing during the development phase helps identify potential issues early, ensuring the flow functions as intended upon deployment. Reference: Salesforce Help - Add Fault Handling to Your Flow


Contribute your Thoughts:

Cherry
6 months ago
Haha, D? Using Process Builder instead of Flow? That's like using a sledgehammer to crack a nut!
upvoted 0 times
Lazaro
5 months ago
C) Use Apex since updating a contact in the remote system is not possible in flow.
upvoted 0 times
...
Salina
5 months ago
B) Use a separate transaction to update the contact in the external system.
upvoted 0 times
...
Maybelle
5 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
...
Selma
6 months ago
I'd go with B. Keeping the flow and the external update separate is the smart move here.
upvoted 0 times
Devon
5 months ago
B) Use a separate transaction to update the contact in the external system.
upvoted 0 times
...
Veronika
5 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
Raelene
5 months ago
I'd go with B. Keeping the flow and the external update separate is the smart move here.
upvoted 0 times
...
Berry
5 months ago
B) Use a separate transaction to update the contact in the external system.
upvoted 0 times
...
Candida
6 months ago
B) Use a separate transaction to update the contact in the external system.
upvoted 0 times
...
Maybelle
6 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
Cassie
6 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
...
Bette
7 months ago
C? Apex? No way, that's overkill. Flows are great for this use case if you handle the errors properly.
upvoted 0 times
Angella
6 months ago
C? Apex? No way, that's overkill. Flows are great for this use case if you handle the errors properly.
upvoted 0 times
...
Alaine
6 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
...
Aleta
7 months ago
B sounds like the way to go. Separate transactions will ensure the flow doesn't get stuck if the external update fails.
upvoted 0 times
Denise
5 months ago
It's important to consider all options and choose the one that best fits the design requirements.
upvoted 0 times
...
Karol
5 months ago
Using a separate transaction seems like a safe bet to prevent any issues with the external update.
upvoted 0 times
...
Latrice
5 months ago
Agreed, testing often and early with error handling is key to ensuring the flow works smoothly.
upvoted 0 times
...
Juliann
5 months ago
Process builder might not be the best option as it is more suitable for simple workflows.
upvoted 0 times
...
Stefania
5 months ago
I think using Apex might be an overkill for this scenario. Keeping it simple is better.
upvoted 0 times
...
Andree
6 months ago
Yes, adding error handling mechanism to the flow is also important to handle such scenarios.
upvoted 0 times
...
Gerald
6 months ago
B sounds like the way to go. Separate transactions will ensure the flow doesn't get stuck if the external update fails.
upvoted 0 times
...
Alishia
6 months ago
B sounds like the way to go. Separate transactions will ensure the flow doesn't get stuck if the external update fails.
upvoted 0 times
...
Clare
6 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
...
Lera
7 months ago
Definitely A. Error handling is crucial, especially when dealing with external systems. Can't risk leaving users in the dark.
upvoted 0 times
...

Save Cancel