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 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
10 months ago
Haha, D? Using Process Builder instead of Flow? That's like using a sledgehammer to crack a nut!
upvoted 0 times
Lazaro
9 months ago
C) Use Apex since updating a contact in the remote system is not possible in flow.
upvoted 0 times
...
Salina
9 months ago
B) Use a separate transaction to update the contact in the external system.
upvoted 0 times
...
Maybelle
9 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
...
Selma
10 months ago
I'd go with B. Keeping the flow and the external update separate is the smart move here.
upvoted 0 times
Devon
9 months ago
B) Use a separate transaction to update the contact in the external system.
upvoted 0 times
...
Veronika
9 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
Raelene
9 months ago
I'd go with B. Keeping the flow and the external update separate is the smart move here.
upvoted 0 times
...
Berry
10 months ago
B) Use a separate transaction to update the contact in the external system.
upvoted 0 times
...
Candida
10 months ago
B) Use a separate transaction to update the contact in the external system.
upvoted 0 times
...
Maybelle
10 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
Cassie
10 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
...
Bette
11 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
10 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
10 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
...
Aleta
11 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
9 months ago
It's important to consider all options and choose the one that best fits the design requirements.
upvoted 0 times
...
Karol
9 months ago
Using a separate transaction seems like a safe bet to prevent any issues with the external update.
upvoted 0 times
...
Latrice
9 months ago
Agreed, testing often and early with error handling is key to ensuring the flow works smoothly.
upvoted 0 times
...
Juliann
9 months ago
Process builder might not be the best option as it is more suitable for simple workflows.
upvoted 0 times
...
Stefania
9 months ago
I think using Apex might be an overkill for this scenario. Keeping it simple is better.
upvoted 0 times
...
Andree
10 months ago
Yes, adding error handling mechanism to the flow is also important to handle such scenarios.
upvoted 0 times
...
Gerald
10 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
10 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
10 months ago
A) Add error handling mechanism to the flow and test often and early.
upvoted 0 times
...
...
Lera
11 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