An enterprise organization maintains automation on the custom object Service_Contract__c. The object has the following active components:
- A Before-Save Record-Triggered Flow that fires on record updates: when Tier__c is set to "Enterprise", it automatically updates Priority__c to "High".
- A custom Validation Rule: formula AND(TEXT(Tier__c) = "Enterprise", TEXT(Priority__c) = "Low") with the error message "Enterprise contracts cannot have Low priority."
- An After-Save Record-Triggered Flow: fires when Priority__c is updated to "High" to create a follow-up Task for the record owner.
A user edits an existing Service_Contract__c record, changing Tier__c from "Standard" to "Enterprise" while leaving Priority__c as "Low", and clicks Save.
What is the expected outcome of this save operation?
- The record saves successfully, Priority__c is updated to "High", the validation rule passes, and the follow-up Task is created.Cevap
- BThe save operation fails immediately because custom validation rules evaluate user inputs before any record-triggered flows execute.
- CThe record saves successfully with Priority__c as "High", but the After-Save Record-Triggered Flow is bypassed because field changes originated from automated flow logic.
- DThe validation rule triggers an error because validation formulas evaluate original database values before before-save flows commit changes to memory.