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