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
debradebra 

Flow with Fault handling does not rollback all DMLs?

I have a Flow that creates several types of records:  Contract, Order and Order Products.
Initially if the Flow encountered any errors on the DML elements it would report the ugly "Unexpected Fault" error screen and no data would be created.
I added screens to handle "Fault" outcomes for the DML elements which worked well however if the fault occurred in later part of the Flow - for example when Order Products are inserted the previously inserted Contract and Order remained.

This is not ideal!  Has anyone found a method to make use the Flow does not create/update any data if there is a DML error that is handled by a fault message?