Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

inbound action

tGhadage
Tera Contributor

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

AshishKM
Kilo Patron

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;"

 

AshishKM_0-1718288397024.png

 

-Thanks,

AshishKM

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution