By default, Salesforce allows users to type any free-text value into the activity Subject field. You can restrict this behavior using an Activity Entry Rule, which forces users to select only from the approved Subject picklist values. This article covers the steps to configure that rule in both Salesforce Classic and Lightning Experience.
Follow these steps to create an Activity Entry Rule that restricts the activity Subject field to approved picklist values only. If a user enters a value that is not in the allowed list, Salesforce displays the error message you configure.
This formula restricts the Subject field to only the allowed picklist values listed. If a user enters a value that does not match one of the approved subjects, Salesforce triggers the entry rule and displays your configured error message.
NOT( OR( Subject == "Call", Subject == "Email", Subject == "Other"))
This formula restricts the Subject field to only the allowed picklist values listed. If a user enters a value that does not match one of the approved subjects, Salesforce triggers the entry rule and displays your configured error message.
NOT( OR( Subject == "Call", Subject == "Email", Subject == "Other"))
000387217

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.