How to Roll Back Records in Screen Flow
Salesforce introduced a brand new element called Roll Back Records in the Winter '22 Release. Roll Back Records data element is available only in screen flows. You can use it to roll back a transaction and cancel all its pending record changes.