Control Data Integrity with Validation Rules
- From Setup, enter Article Types in the QuickFind box, then select Knowledge Article Types.
- Click the article type.
- Scroll down to the Validation Rules related list or click the ValidationRules link at the top of the page.
- To create a validation rule, click New. To edit an existing rule, click Edit.
- Name the rule.
- Make the rule active.
- Optionally, describe what you want to control on articles of this type.
- Specify an error condition formula and a corresponding error message.The error condition is written as a Boolean formula expression that returns true or false. When true, the article is not saved, and an error message displays. The author can correct the error and try again. For information on validation rules, seeDefine Validation Rules.Note Knowledge article errors always display at the top of the page, not next tothe field. Write your errors descriptively so that authors know how to satisfy the validationrule. For example, identify which field is causing the error.
- Click Save.