Assignment group based on ci, category, prediction

Ashwini8
Tera Contributor

Hi @asifnoor  hope you are doing good. Need your help in modifying the script.

Actually few months ago we have created a script include to set the assignment group based on CI's support group and category and called that script include from client script. Now there is a new module called predictive inteligence. So now we need to modify the script based on the prediction. But as of now the prediction is taking over all other scripts. Can you please guide me on this.

Regards,

Ashu

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

can you share the relevant scripts and screenshots?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

The below script include was written to set the assignment group based on ci and category.

find_real_file.png

Now We have the below conditions to meet and we are suggested to use Predictive Intelligence for this.

1) Whenever the incident is with P1 and P2 the assignment group should be MIM, 

2)Whenever the incident with P3,P4,P5 then it has to predict the assignment group based on existing data.

3) When the incident has matched the ci or category condition it should assign to that particular group(Based on script include written above)

3) When no condition is maching like, no ci or category then it has to assign to default assignment group.

Please suggest how to achieve this

Hi All,

We have created the below BR, and i am bit stuck in 1 step that is when prediction is not happening then it should take the Ci's support group or the category then it should put a assignment group. But now its not entering the loop. Please help me.

find_real_file.png

I would suggest using Flows, you can easily map out the data without having to figure out each piece of code. My group has used this for last year with great success.