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

How to add multiple values in Keywords fields?

amolpawar
Tera Guru

Keywords.png

Hello everyone,

 

I want to create an inbound email action of the Record Action type. In conditions, a record should be created when- given multiple words are present in the email. 

I want to know how should I add multiple words (strings) in the values of Keywords are ... ?

I've tried as "ABC" | "XYZ" | "QPR", but not working.

 

Thank you!

 

3 REPLIES 3

ThomasM55637179
Mega Contributor

Same Issue.   Ended up just using multiple "contains" with or.     I need a report to show incidents with the word print, printer, printing, prints, toner,...

AP11
Tera Contributor
Keywords abc | xyz | aabb  

which should be treated as if data contains  abc or xyz or aabb

 

Make sure there is space between keywords and Pipe operator 

 

Aditya_hublikar
Mega Sage

Hello @amolpawar ,

You can also use is one of  operator to check multiple values like below  attached photo. Must remember 

You must enter comma-separated values in a single line, OR each value on a separate line (UI depends on version).

Format 1 — Comma Separated

Demo,demo,DEMo

 
Format 2: Add each keyword on new line to check
Demo
demo
DEMo
 

 

adityahubli_0-1765561689662.png

 

If this helps you then mark it as helpful and accept as solution.

Regards,

Aditya