Comments on: Harnessing the Power of Dynamic Filters in ServiceNow https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 19:17:09 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Mark Stanger https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9751 Wed, 13 Jul 2016 15:55:45 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9751 In reply to Tony Maytom.

Thanks Tony, I’ve clarified the article now. :)

]]>
By: Tony Maytom https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9750 Mon, 11 Jul 2016 21:53:52 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9750 Thanks for the great article and tips. I always find this site useful. One thing I just realised and noted from the official ServiceNow wiki is that the name of the function must that same name as the script include. This was not initially clear to me and I wondered why my client-callable script include, that contained several functions was not working. The reference to the wiki is here: http://wiki.servicenow.com/index.php?title=Using_Filters_and_Breadcrumbs#Scripted_Filters, refer to point 2 ”

Thanks
–Tony

]]>
By: Andy T https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9749 Tue, 05 Apr 2016 13:02:43 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9749 In reply to Ruth Porter.

Hi Ruth

I’ve just been trying to do exactly the same with the same results…did you have any joy in making this work for date/time fields?

Thanks – Andy

]]>
By: Ruth Porter https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9748 Fri, 19 Feb 2016 14:36:37 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9748 Nice stuff! Has anyone tried to create a dynamic filter for a date/time field?
I thought I had a good script I hooked into a new dynamic filter for field type Date/Time on table global with the “Available for filter” box checked but no dynamic ones appear in the list. No errors warnings in logs. Any ideas?

]]>
By: Gareth https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9747 Tue, 08 Sep 2015 03:38:24 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9747 In reply to Mark Stanger.

Works a treat thanks

]]>
By: Mark Stanger https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9746 Mon, 07 Sep 2015 12:55:37 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9746 In reply to Gareth.

You can do that in a couple of ways, but the simplest based on how I’ve constructed the script above is to add additional query lines to the script include. Right under the ‘user.active’ line you could add lines like this…

grMem.addQuery(‘group.name’ ‘!=’ ‘NAMEOFYOURGROUPTOEXCLUDE’);

]]>
By: Gareth https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9745 Mon, 07 Sep 2015 04:58:11 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9745 Nice work Mark.
Just a quick question how would you exclude a group from this as we have groups to separate what people can see on our Self Service Portal. eg Catalogue – NZ means they can see NZ items.

]]>
By: Mark Stanger https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9744 Fri, 04 Sep 2015 17:11:43 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9744 In reply to mathew.

You’re welcome!

]]>
By: mathew https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9743 Fri, 04 Sep 2015 16:07:21 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9743 Thank you Mark..nice article

]]>
By: Abakas https://servicenowguru.com/reporting/harnessing-power-dynamic-filters-servicenow/#comment-9742 Fri, 04 Sep 2015 13:08:10 +0000 https://servicenowguru.wpengine.com/?p=5637#comment-9742 Awesome Mark,it really solves so much of issues related to reference qualifier.

]]>