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.

Auto assignment of incident to groups based on keywords mentioned in short description.

Ankita Kapoor1
Kilo Contributor

I have a requirement where incident must b auto assigned to the group based on the keywords mentioned in the description. Kindly assist

15 REPLIES 15

I create a BR with below mentioned code but its not working :

 

if(current.task.short_description.toLowerCase().indexOf('software') >=0){
current.assignment_group = "f8ae13d86fcfd100934ecccc5d3ee45a";
}