function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Meggan Landis 2Meggan Landis 2 

Errors in flow preventing lead creation

Hi all -
I have a record trigger flow that is triggered by the creation of the lead. It's basically just full of update record actions and sending chatter messages if certain criteria are met; however, if there are circumstances that make the flow error, it will prevent the creation of the lead. Is ther a way to still be able to execute the creation of the lead even if the flow itself fails?

Thank you!

Megg
VinayVinay (Salesforce Developers) 
Hi Meggan,

Can you try debugging flow that should narrow down the scenerio.

https://help.salesforce.com/s/articleView?id=sf.flow_test_debug.htm&type=5
https://help.salesforce.com/s/articleView?id=release-notes.rn_forcecom_flow_debug.htm&type=5&release=230
https://www.accidentalcodersf.com/2020/11/test-and-debug-record-triggered-flows.html

Thanks,