How to create interactive filter based on the incident numbers

rahamathullahmr
Giga Expert

Hi ,

How to create interactive filter based on the incident number . The business requirement is let   me say the assignees are having 40 + incidents in the report , now using interactive search they have to get the incident numbers as for their need.

our servicenow instance is in helsinki.

Thanks,

Rahamathullah

1 ACCEPTED SOLUTION

We had almost the exact same issue, but with Major Incident rather than Incident.   Thanks to a suggestion from Adam Stout, we managed to get it to work.



1.   Set up your Interactive Filter, with type Reference, pointed to the Incident Table with a filter on Number (because it won't let you pick sys_id).


find_real_file.png



Create your interactive filter reference.   You can't reference incident itself, so instead point it at any table that references incident:   (maybe parent_incident?   or Problem)? and set the field to the incident reference.  



find_real_file.png



Click the i to open the record you created, then right click to export to XML



find_real_file.png



In the XML, edit the reference_table and set to incident - edit the reference_field and set to sys_id



find_real_file.png



Save it, then go back to the instance and import the xml file back in (you may have to ask an admin to help, if you're not admin yourself).



Now when you look at the Filter Reference, it should reflect the incident table and sys_id field.



Add your Interactive Filter to the dashboard, and make sure your other report widgets are set to "Use Interactive Filter", and it should follow!



find_real_file.png


View solution in original post

21 REPLIES 21

Karthik Reddy T
Kilo Sage

Refer the below links may helpful to you.



Available Interactive Filter types



How to create an Interactive filter on Project Short Description or Number?


Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.

Thanks for your effort Karthik .



I have gone through the links before too.



I just need to know if it can be done, and it said it can't be . If there is some KB article which actually will be help me out .


Rahamathullah,


Based upon the business requirements you stated earlier "assignees are having 40 + incidents in the report , now using interactive search they have to get the incident numbers as for their need.", I don't think an interactive filter is the best path to meet the business requirement.     I am making an assumption here but it sounds like you want to provide the user a report displaying a list of all incidents currently assigned to them.......does that sound accurate?       If so, you can build regular list report and use a dynamic condition.       In my example, I am using the incident table to build a list report with provides a list of all active, open (not closed or cancelled)   assigned to the logged-in user.     When you add the filter condition for "Assigned to", it will provide you with a list of options......one of them being is(dynamic).   Select is(dynamic) and Me as the condition qualifier.     This will provide a pre-filtered list of incidents assigned the individual viewing the report.   Since I was logged in as Fred Luddy, you will notice the final report only includes those incidents currently assigned to him.....and the results of the report will dynamically change based upon who is logged in.    



Does this satisfy your business requirements?


Ashby    



find_real_file.png


find_real_file.pngfind_real_file.png


Hi John ,



You almost   caught up with my requirement to iterate it more , let me say I have 100 + tickets assigned to me and when i put it up in the dashboard it will be shown up in pages , so if they want to filter the incidents based on number , they have to scroll the pages , which is tedious. So how to give them a search option based on incident.



Your view is highly appreciated .



Thanks,


Rahamathullah