You need to sign in to do that
Don't have an account?
![yash mehta 12 yash mehta 12](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
What is the validation rule for
if Task Type = Call and Call Type field is empty
OR if Task Type = Event and Demo Type field is empty
I made it like this
CallType = ISBLANK(expression) || Demo_Type__c = ISBLANK(expression)
OR if Task Type = Event and Demo Type field is empty
I made it like this
CallType = ISBLANK(expression) || Demo_Type__c = ISBLANK(expression)
Use this .
OR(
AND(Text(TaskType) ='Call' ,ISBLANK(Text(CallType))) ,
AND(Text(CallType) ='Event' ,ISBLANK(Text(Demo_Type__c)))
)
All Answers
Use this .
OR(
AND(Text(TaskType) ='Call' ,ISBLANK(Text(CallType))) ,
AND(Text(CallType) ='Event' ,ISBLANK(Text(Demo_Type__c)))
)
Please check the API Names if you are using other than task object. If you are using task object check the FLS for TaskType .
Try below validation rule
Let us know if this will help you
OR(
AND(Text(Type) ='Call' ,ISBLANK(Text(CallType))) ,
AND(Text(Type) ='Event' ,ISBLANK(Text(Demo_Type__c)))
)