+ Start a Discussion
BabluBablu 

Validation on Changing record types

I have 4 record types ( Business1, Business2, Business3, Business4). I want to prevent users from changing record type to Business4 from any other (Busiess1,2,3)

Please advise. Thanks 

​Banti 
viruSviruS
Use Validation rule or trigger to check Old value to changed values and generate error 
ssssssssssssss
Hi,


Use ISCHANGED() to check whether the value of record type has changed. If yes, then compare old value and new value acording to your condition. Let us know if this helps.


~S
Hitendar Singh 9Hitendar Singh 9
Hi 

Use the below in validation rule. This will prevent user from selecting recordtype as business4 from any other record type

(recordtype = 'Business4') && NOT(ISBLANK(PRIORVALUE(recordtype)))

Hope this helps
 
Amit Chaudhary 8Amit Chaudhary 8
AND
(
	RecordType.Name = 'Business4',
	IsChanged(RecordTypeId)	
)

Please try above and let us know if that will help u