Posts

Showing posts from July, 2020

LinkedIn

Screen Flows - Exception Handling & Logging - Custom Platform Events Vs Flow Execution Error Event

Image
In the previous post , we saw how to handle and log exceptions in auto-launched flows. In this post let us see Exception handling and logging for screen flows. For this let us use the below Use case: Object - Account Flow Functionality -  If the Account type(picklist with values End-User, Partner) is Partner Account – Display a screen to enter additional details by user and based on entered values, decide Account Partnership level(picklist) as Diamond, Gold or Silver. This screen flow  will be added to Account record page. Below is the Screen flow which implements this. Scenario - 1 - Partnership Level Updated Successfully Add this flow to Account Record page like shown below: We can make this conditionally visible on the record page by adding component visibility criteria so that screen will be visible only if Account Type is Partner: Now let us create an Account  - Account ABC with below details: Name - Account ABC Active - True Account Type - Partner And we can see that, flow compon