function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rung41Rung41 

Task validation rule on Lead conversion help

I have two Task RecordTypes, "A" & "Z". For recordtype "A" I have the validation rule below. 
When converting a Lead, I used recordType Z" as the optional Task.  However, when trying to convert a Lead, the validation rule for RecordType A" is being triggered. Any thoughts as what would cause this?

 

AND( 
RecordTypeId = "01213000001WIIc",
( 
IF(Option1__c, 1 , 0) + 
IF(Option2__c, 1 , 0) + 
IF(Option3__c, 1 , 0) + 
IF(Option4__c , 1 , 0) + 
IF(Option5__c , 1 , 0) < 1)
)
Raj VakatiRaj Vakati
try this
 
AND( 
RecordType.Name = "A",
( 
IF(Option1__c, 1 , 0) + 
IF(Option2__c, 1 , 0) + 
IF(Option3__c, 1 , 0) + 
IF(Option4__c , 1 , 0) + 
IF(Option5__c , 1 , 0) )< 1
)