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
Vamsi PenugurthiVamsi Penugurthi 

How can we create validation rule on log a call. That will Not effect on new task

I have created different subjects for log a call & new task
Log a call - 
i)call
ii)webinar
iii)site visit
iv)send quote
New task-
i)v1
ii)v2
iii)v3
For log a call i have created a validation rule: (CASE( Subject , "call", 1, "webinar", 1,"site visit", 1, "send quote", 1,2) > 1)
The reason i have created validation rule.for log a call, sales person need to be select subjects from dropdown only. If they type anything in the subject and click save it will through error(Please select valid subject)

For new task i didnot created any validation rule. salesperson can enter text and they can select subject from dropdown list.

Now, i m facing issue after creating validation rule. eventhough subjects are different in new task, while i am entering some text in the subject field and saving. it is throwing error(please select valid subject). 

Please any suggestion how can we remove this error for creating new task

 
AnudeepAnudeep (Salesforce Developers) 
Your validation rule is meeting the criteria upon task creation. Hence it is throwing the validation message. You need to either deactivate it or change the criteria
Vamsi PenugurthiVamsi Penugurthi
How can we change the criteria. Is there a way to create?