Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to ignore case sensitivity in flow designer

Swetham
Tera Contributor

Hi all,

 

My requirement is as follows,

I have a set of 10 keywords.( eg, Password)

I have to check if any of the keywords is present in my interaction's short description and if so i've to create an incident.

 

This has to be done in flow designer and this must be case insensitive.

 

Could you please help me with inputs?

Thanks in advance!

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

Hi @Swetham 

the easiest way is leveraging a toLowerCase() transform function in your data pills for both short description and keyword

MaikSkoddow_0-1693190541928.png

Maik

 

I've done at least one or two courses for flow designer and this is first time I've seen this. Thank you, you solved my problem!

Harsimranjeet 1
Tera Expert

Hi @Swetham 

 

 

As Maik suggested, with toLowerCase() function, you will be able to achieve it.

 

Simran 

 

 

Community Alums
Not applicable

Hello Swetham,
As per your requirement, you can add a data pill after trigger that represents interactions short description. It will capture the short description
Then you can create a loop element of flow where in it will iterate through your list of keywords.
Create a list variables that contains 10 keywords, This list will serve as source of keywords,
Inside the loop add a condition where in it will check the case sensitivity of the short description 
Add condition where in if the keyword is found create an incident by adding an action 
Exit the loop to avoid the iteration 
End the flow and save and test

Please mark my answer as helpful, if it helped you in finding solution
Thanks,
Priyanka