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

I would need to see the entire code where you're creating an incident to help further.

SAI VENKATESH
Tera Sage
Tera Sage

Hi @tGhadage  

 

can you try :

Impact :1 

urgency :2 

 

Thanks and Regards

Sai Venkatesh

 if (email.subject.indexOf("Escalation: High") && email.recipients.toLowerCase().indexOf("falcon-complete@crowdstrike.com") > -1) {
            current.impact = 1;
            current.urgency = 2;
            //current.priority = 2; 
 
tried it but getting as below :Screenshot (208).png

Hi @tGhadage  

 

You can try this video may be it will be helpful for you:

 

https://www.youtube.com/watch?v=G3aB054XE4A&t=1243s 

start from 50 minutes 

 

Thanks and regards

Sai Venkatesh

have tried setting it to 1 and 2 but still no progress.