Skip to content

Commit 519ba10

Browse files
authored
Create Readme.md
This script updates all Priority 1 (P1) incidents to Priority 3 (P3) in ServiceNow. It is useful for bulk downgrading incident priority based on revised impact or urgency assessments
1 parent db73580 commit 519ba10

File tree

1 file changed

+29
-0
lines changed
  • Server-Side Components/Background Scripts/Lower down the incident Priorit

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Update P1 Incidents to P3 – ServiceNow Script
2+
3+
This script updates all Priority 1 (P1) incidents to Priority 3 (P3) in ServiceNow. It is useful for bulk downgrading incident priority based on revised impact or urgency assessments.
4+
5+
## 🧩 Purpose
6+
7+
To lower the priority of existing P1 incidents to P3 by adjusting their impact and urgency values.
8+
9+
## 🛠️ Script Details
10+
11+
- **Table**: `incident`
12+
- **Target**: Incidents with `priority = 1`
13+
- **Changes Made**:
14+
- `impact`: Changed from 1 (High) to 2 (Medium)
15+
- `urgency`: Changed from 1 (High) to 2 (Medium)
16+
- `priority`: Recalculated to 3 (P3)
17+
18+
## ▶️ How to Use
19+
20+
### Option 1: Background Script
21+
22+
1. Navigate to **System Definition > Scripts - Background**
23+
2. Paste the script
24+
3. Run it
25+
26+
### Option 2: Script Include
27+
28+
Wrap the logic in a Script Include and call it from a Flow, Business Rule, or UI Action.
29+

0 commit comments

Comments
 (0)