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 8fee2ed commit 034d52dCopy full SHA for 034d52d
Server-Side Components/Background Scripts/Update Field Based on Another Table Data/README.md
@@ -0,0 +1,9 @@
1
+This script Update incidents with the department of their caller
2
+Loops through every user in the sys_user table.
3
+For each user, finds all incidents where they are the caller (caller_id matches sys_id of the user).
4
+For each matching incident: 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