Change variable with keyword from body of an email via inbound action

Justin Dirks1
Tera Expert

Hello!

 

I am needing to change a variable in an incident based on the keywords of High or significant within the body of an email. If the email contains Severe then I would want to have the Priority changed to 1-High and if the body contains Warning I would want the Priority to be set to 2-Significant.

 

Any help with this would be great!

 

Thanks!

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Justin Dirks1 

 

If the email contains Severe then I would want to have the Priority changed to 1-High and if the body contains Warning I would want the Priority to be set to 2-Significant.

Atul: Actually we can set priority , bcz priority is depend on Impact and urgency. but it is look like a doable case.

 

Create a data look up table 

where 

match = Subject contains - Server

Set 

Impact = 1

Urgency = 1

2nd case

match - Body contains warning 

Set 

Urgency =1

Impact = 1

 

also think a case, if body contains both server and Warning then , need to write logic. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************