Unexpected behaviour of List Control and weird response from ServiceNow support

Christophe
Tera Contributor

L.S.,

 

I created a case with ServiceNow support to address an issue I have with setting a Default Filter via List Control.

When Selecting "Add Filter Condition", I receive an error message stating: "First select a table".  After investigating, ServiceNow came with the following message: 

 

Solution proposed is :
Hello Christophe,
We are placing this issue in Solution Proposed.
Reason: We are placing it Solution Proposed as we believe the information provided below will resolve your issue. If you have any questions or need anything else related to this Case kindly contact us or update the case and we will be happy to assist you further. If this resolves your issue, please consider closing the Case by clicking on Accept Solution.
Issue: Unexpected behaviour of List Control
Most Probable Cause: Expected behavior.
Solution Proposed: We've investigated the issue and during which we've tested and verified that it's an OOB expected behavior.
There is an OOB UI Policy: " List Control" to hide the field edit_default_filter .
https://instance.service-now.com/nav_to.do?uri=sys_ui_policy.do?sys_id=cac3c1ba0a0a0b260048f5f833b4e...
However we've noticed that this UI Policy action has been modified to make edit_default_filter field visible.
https://instance.service-now.com/nav_to.do?uri=sys_ui_policy_action.do?sys_id=cac583e20a0a0b260062d4...
By default it was disabled in OOB and if you have a business requirement to use it, we kindly request you to raise an enhancement request.
Also, I invite you to raise an idea in the idea portal for this feature to be included as a future offering in the product.
[Steps to create Enhancement Request can be found here >>
 KB0755878 - Idea Management for customer enhancement requests ]
Once an enhancement request is created, Our development team will look into it and based on the business justification they may introduce that particular features or configurations in our future releases.
Please let me know if you have any questions.
Next Steps: I will set the status to Solution Proposed now.
Note: If you need additional assistance after this time, you may update the Case or give us a call.
Please do not reject this solution for any follow-up queries.
Otherwise, please click Accept Solution to close the Case, or let me know by e-mail and I will close it for you.
Please let me know if the approach above has resolved the issue.
Best regards,
Nisha

 

When I check the documentation on how to set a Default Filter, I find the following:

 

Create a default filter for list selector records

 
Utah

You can set a default filter to restrict which related records users can select when editing a reference field. Default filters are simple to set up but lack a dynamic filtering element, which prevents the end user from changing the default filter.

Before you begin

Role required: personalize_list

About this task

A filter is used to restrict the records that are listed in the slushbucket that displays when a user clicks Edit in a related list.

Procedure

  1. Right-click any column heading and select Configure > List Control.
  2. Configure the List Control form to add the Edit default filter field, if necessary.
  3. In the Edit default filter field, use the condition builder to create a default filter.
  4. Select UpdateWhen users click the Edit button in the related list, the list of records they can select is filtered according to the default filter.

Is there another way to set a Default Filter? I find it weird to create a feature request for something that is already documented a functional feature.

3 REPLIES 3

Shruti Khaire
Kilo Sage

Hello @Christophe,

I'm not sure where you want to have the default filter set. Is it in the List of records or on the Related Lists cause I have implement it on the related lists and had set a default filter. Below I will be sharing a documentation link on the same which helps you apply filter for related lists if you have same case scenario.

Thank you!

CreateADefaultFilter 

Hello Shutri,

 

Thank you for your reply. I want to use the filter in a reference field.

 

Best regards,

 

Chris.

Shruti Khaire
Kilo Sage

Hello @Christophe,

 

Gotcha don't know if it's solved yet but I found a link which was useful for me for applying filters over the reference fields down below sharing link for the same hope it helps in future. 

Reference fields filter 

 

Thank you!