You need to sign in to do that
Don't have an account?
RPal
wipe out fields when changing the record type
I have requirement to clear out the fields not included in the page layout when I switch from on record type to other. So lets say a record is created for record type 'A' and has 10 fields and when I change the record to record type 'B' which has 6 fields (all these 6 fields are subset of fields in RT 'A') then remaining 4 fields should 'null' out. I know I can do that with a trigger or process builder but in that case I would have to mention each and every field and its relative value. It would be a very long process so I was wondering if there is a simple funtion to do this?
You can achieve it using workflow rule.
ISCHANGED(RecordTypeId ) in condtion.
And set the fields to be updated to blank value.
Thanks,
Sarav
Sweet Potato Tec
Even thought if you use apex you need to specify field names.
Thanks,
Sarav
Sweet Potato Tec