We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

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. 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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