Regex in skilldetermination rule

JPSS
Tera Contributor

While creating skill deterrmination use i want to have a condition that if incidnet description have the keyword "Servicnenow"  then the skill Servienow needs to be attached to the ticket.

 

 

keyword servicenow should be case insensitive.

 

How can we achive this. I tried using contains but i could see that its case sensitive.

 

 

JPSS_0-1706147203543.png

 

3 REPLIES 3

ahefaz1
Mega Sage

@JPSS ,

 

You can always use the Advanced Configuration for Skill Determination where you will be able to script and have access to server side APIs.

Something like below:

 

ahefaz1_1-1706161956299.png

 

 

Please accept solution OR mark helpful.

 

Thanks,

Sandeep Rajput
Tera Patron
Tera Patron

@JPSS An easy fix would be to use multiple OR conditions to check for variations of keyword ServiceNow.

 

e.g. Description contains Servicenow

       OR

       Description contains servicenow

       OR

       Description contains ServiceNow

 

Hope this helps.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @JPSS 

 

I am not a coder but you can use the contains Option like Short description contains SN or ServiceNow

*************************************************************************************************************
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]

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