4

I have an auto launched flow that I would like to just ignore the errors of if they occur.

I currently have several fault connectors going to a dummy assignment. However I keep receiving error emails which is what I am trying to avoid.

enter image description here

2
  • You are probably looking for this. help.salesforce.com/…. You will need to setup an email to receive the exception emails.
    – manjit5190
    Aug 25, 2020 at 17:48
  • Hi, thank you but I have an email setup. I am trying to not receive the emails. Basically I want the flow to handle the exception so that if it fails nothing really happens. I'm not sure if this is possible though.
    – SFAdmin
    Aug 25, 2020 at 17:51

1 Answer 1

8

Bizarrely to handle this you simply need to make sure the fault and success responses are sent to the same subsequent flow element, like this:

Routing the fault and success responses

Once you do this you will find that no exception emails are sent and you can handle the errors appropriately within the flow itself (such as with an "ErrorScreen" as shown here). You can test "{!$Flow.FaultMessage}" to see if it is empty to decide on whether to show the error screen.

UPDATE: Based on comments it seems this doesn't work at the moment. This is likely due to this known issue.

5
  • 1
    +1 That's useful to know. Should be in the docs.
    – sfdcfox
    Aug 26, 2020 at 0:28
  • For what it's worth, I tried exactly this on a Platform Event triggered flow where I handle the fault. And it still sends the darn email that I don't want it to send.
    – Charles T
    Jun 10, 2021 at 19:48
  • Sorry to hear that :(
    – Phil W
    Jun 10, 2021 at 20:09
  • I can confirm that this solution also doesn't work for me. Jun 30, 2022 at 7:37
  • Turns out since we took this approach something broke. There is a known issue covering this problem.
    – Phil W
    Jan 29, 2023 at 9:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .