inbound action
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2024 10:40 AM
hi guys ,
if (email.subject.indexOf("Escalation: High") && email.recipients.toLowerCase().indexOf("test@test.com") > -1) {
current.impact = 2;
current.urgency = 2;
current.priority = 2;
}
this code is not creating p2 incidents its creating p3.
Thanks!!
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 07:21 AM
Hi @tGhadage ,
The priority should not be set like this becuae, during the incident save/update system calculate for priority based on Priority Data Lookup rule. So comment the line "current.priority = 2;"
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution