Data lookup rules are not working

shaik_irfan
Tera Guru

Hello Everyone,

I created a Data Lookup rule name as Category AG lookup and mention Source table as Incident & Matcher table as Assignment Data look   up as shown below:

find_real_file.png

find_real_file.png

Later under Assignment Data Look up: dl_u_assignment.LIST i create few rules as shown below:

find_real_file.png

Problem is when i run my incident the very first time Assignment group is populating but when i change the category & subcategory assignment group is not change, Can anyone please let me know what changes should i made so that when ever category & subcategory changes exact rule should be populated later it should overwrite if i change any category & subcategory

1 ACCEPTED SOLUTION

Order is very important when creating rules. What I usually do is keep the order the same except for one that I want to be the default. Look to see what the order is for the one that is misfiring and see if it has an order before the one you want.


View solution in original post

14 REPLIES 14

Its checked to True



find_real_file.png


And is it still not working, i just did the same and saw it working on my demo


Unfortunately yes its not working



Do you mind to check in my instance please ?



if yes please message or send me a test email to shaik.snow096@gmail.com


antin_s
ServiceNow Employee
ServiceNow Employee

Hi Shaik,



As we can clearly see, the problem is in the values used in the Data Lookup. You should use the values and not the Labels. For example, instead of 'Antivirus', it should be 'antivirus' and instead of 'Internal Application', it should be 'internal application'. It should exactly match the value in sys_choice.



The same applies to Category values also. Please try that.



Hope this helps. Mark the answer as correct/helpful based on impact.



Thanks


Antin


Order is very important when creating rules. What I usually do is keep the order the same except for one that I want to be the default. Look to see what the order is for the one that is misfiring and see if it has an order before the one you want.