Skip to content

Commit 6f20d23

Browse files
authored
Add README for Incident Priority Set on Insert Only
Added documentation for the Incident Priority Set on Insert Only script, explaining its purpose, usage, and functionality.
1 parent cdde65d commit 6f20d23

File tree

1 file changed

+18
-0
lines changed
  • Server-Side Components/Transform Map Scripts/Incident Priority Set on Insert Only

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Incident priority set on insert only
2+
3+
## What this solves
4+
Recurring imports often overwrite priority even after the service desk has triaged the ticket. This onBefore script sets priority only when a row is inserted. Updates pass through without touching priority.
5+
6+
## Where to use
7+
Attach to your Incident Transform Map as an onBefore script.
8+
9+
## How it works
10+
- Checks the Transform Map action variable for insert vs update
11+
- On insert, computes priority from impact and urgency
12+
- On update, does nothing to priority
13+
14+
## References
15+
- Transform Map scripts
16+
https://www.servicenow.com/docs/bundle/zurich-integrate-applications/page/administer/import-sets/task/t_AddOnBeforeScriptToTransformMap.html
17+
- Incident fields and priority logic
18+
https://www.servicenow.com/docs/bundle/zurich-it-service-management/page/product/incident-management/concept/incident-fields.html

0 commit comments

Comments
 (0)