Salesforce Fact #822 | Validation on case closure
Suppose we want to add a validation that a case can only be closed if the current user is the owner or he is part of the owner queue.
We can check the current user id against the owner id or if there is a row present in GroupMember object for this user. The validation be implemented in record-triggered flow using the custom error component.
Attached are the screenshots.
Comments
Post a Comment