We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae2a56 commit 557f3baCopy full SHA for 557f3ba
Server-Side Components/Background Scripts/Update Field Based on Another Table’s Data/README.md
@@ -0,0 +1,9 @@
1
+Update incidents with the department of their caller
2
+Loops through every user in the sys_user table. For each user, finds all incidents where they are the caller (caller_id matches sys_id of the user).
3
+For each matching incident:
4
+Copies the user's department value.Sets it on the incident's custom field u_department.
5
+
6
+Use Case Example:
7
8
+Let’s say you want each incident record to store the caller’s department, but this info is only on the user profile.
9
+This script pulls it from the user and updates all related incident records.
0 commit comments