Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

16 REPLIES 16

Yes Anup.. If a user selects Hardware as a category and types Hard/ Harware in short description, it will auto assign to HArdware assignment group.

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";
}