#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"