-
Notifications
You must be signed in to change notification settings - Fork 20
Validation Rules
emilymorse edited this page Jul 12, 2019
·
2 revisions
What is a Validation Rule?
Validation rules verify that data entered by users in records meet the standards you specify before they can save it. Validation rules can also be used to prevent users from editing records that meet certain criteria.
Sample Validation Rule
The Outbound Funds Package does not contain any validation rules out of the box. Below is an example validation rule that could be created to enhance user experience with this package:
- If a Disbursement has a status of ‘Paid’, prevent the edit of the Disbursement record.
Building a Validation Rule
- From Salesforce click the Setup icon, then click Setup.
- From Setup, click the Object Manager tab.
- Scroll to find the name of the object you are creating the validation rule on.
- Click Validation Rules.
- Click New.
- On the New Validation Rule screen, fill out the information as such:
- Rule Name: Name of the rule
- Active: Check this box to activate
- Description: Describe what the Rule will do
- Error Condition Formula: When this formula equals TRUE, the error is triggered for the user.
- Click on Check syntax to check your formula.
- Error Message: What will appear on page to user when error is triggered.
- Error Location: Either at the top of the page or by the field
- The page would look as follows:
- Click Save to Activate.
For more information on Validation Rules and how to create them, check out this Trailhead Trail.
- Install Outbound Funds
- Upgrade to the Latest Version
- Salesforce.org Open Source Commons
- Power of Us Hub Collaboration Group
- Outbound Funds Entity Relationship Diagram - Coming Soon!
- Outbound Funds Data Dictionary
- Disbursements
- Funding Program
- Funding Request Object
- Funding Request Roles
- Requirements Object
- Approval Processes
- Other Suggested Automation
- Quick Actions for Funding Requests
- Kanban for Funding Requests
- Path for Funding Requests
- Manage Expenditures
- Validation Rules
- Outbound Funds Report Workbook - Coming Soon!