You need to sign in to do that
Don't have an account?
Sonja R 5
What it the correct syntax for creating validation rule for 'Category__c' AND 'Problem__c' (required if RecordType.Name = "Complaint")
if record type = complaint, then categoy and problem cannot be blank
Error: Field Category__c is a picklist field. Picklist fields are only supported in certain functions.
AND(RecordType.Name = 'Complaint' , OR(ISBLANK(TEXT(Category__c)) , ISBLANK(Problem__c) ) )
Upsert failed. First exception on row 0 with id 500d0000012aPuNAAU; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, If Case Type = Complaint, Category and Problem must be selected.: [Category__c]
Error is in expression '{!saveCase}' in component <apex:commandButton> in page newcase: Class.CaseEXT.SaveCase: line 131, column 1
An unexpected error has occurred. Your development organization has been notified.