Skip to content

Commit 91b6960

Browse files
authored
README.md
1 parent b66c789 commit 91b6960

File tree

1 file changed

+11
-0
lines changed
  • Server-Side Components/Business Rules/Update "Needs Attention" based on condition

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Tsble: sn_customerservice_case
2+
When to run: Before update
3+
condition : additional comment changes
4+
5+
Use case:
6+
7+
When a user adds additional comments on a case, the system needs to determine if the case requires further attention from the assigned user. This determination depends on who updated the case and their roles.
8+
If the update is made by an automated system user (sys_updated_by == 'system'), no action is taken.
9+
If the update is made by a user who holds one of the specified roles (e.g., customer service roles or fulfillers), and this user is not the current assigned user, then the case should be flagged as needing attention (needs_attention = true).
10+
If the update is made by the currently assigned user, and needs_attention was previously set to true, it should now be cleared (needs_attention = false) because the assigned user has presumably addressed the issue.
11+
This ensures that when others contribute to the case, the assigned user knows to review it, but when the assigned user updates the case, the attention flag is cleared.

0 commit comments

Comments
 (0)