Dynamic Filter Option not showing

Ghazali
Tera Contributor

Trying to create a dynamic filter on a custom table 'BTSS Case'.  I am trying to create filter using which I will be able to filter all records in the table which have the country same as mine..

 

I have created the following script include:

ScriptInclude.png

 

and referenced it when create the dynamic filter option:

DynamicFilterOptions.png

 

 

But still the is(dynamic) operator not showing up in the filter for country field in 'BTSS Case' table

BTSSCase.png

 

Where am I messing up?

Regards,
Ghazali
6 REPLIES 6

Hemanth M1
Giga Sage
Giga Sage

Hi @Ghazali ,

 

Please change the referance table in the dynamic Filter Option to country table (core_country) and try.

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Hi @Ghazali ,

 

did my response answered your question if so,

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Doesn't work. From what i understand referenced table is supposed to be the table where you want the filter option to come. Anyways, the scope for this dynamic filter option is not global so can't select core_country.

Regards,
Ghazali

Hi @Ghazali ,

  1. The dynamic filter option will run for the referenced table (to which the field "country" is referring), but not for the 'BTSS Case' table so change the referenced table to core_country.
  2. You have to create the dynamic filter option in Global scope because you cannot access core_country from any scope other than global.
  3. Ensure that your script includes are accessible from the "All application scope."
  4. Try making the changes and see if they work.

Accept and hit Helpful if it helps.

 

Thank you,
Vijay