How to add Validation Rule in Flow | Using Validation Rules in Salesforce Flow

Опубликовано: 21 Февраль 2026
на канале: Salesforce Hacks
4,924
10

#salesforce #flow #salesforceadmin

Requirement: Internal comments must be provided when case status is "Working"

Approach: Using a Record-Triggered Flow

Steps:
Create a Record-Triggered Flow
Define Trigger Conditions:
Object: Case
When to Run: When a record is created or updated
Conditions: Case Status equals "Working"
Add Decision Element:
Check if Internal Comments field is blank
Add Error Display:
If blank, display an error message to the user
(Optional) Add Field Update:
Optionally, set the Case Status back to "New" or "Pending"