How do Salesforce validations fail on existing records? -


imagine have 2 checkbox fields in account: "not programmer" , "programs java"

i can set validation rule error condition formula of: and( not_a_programmer__c = true, programs_java__c = true )

this rule won't allow me save record if both boxes checked.

but happens existing records, have both boxes checked? how error thrown, , how reported on?

i'm asking here instead of testing out because have access live environment.

validation rules execute when record saved (inserted, updated, upserted). see order of execution (#4) document details.

if want validate existing records, best method doing running report filter fields or use scheduled batch job log errors.


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -