Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Update the Filter on a page in SOW

Ashish Kathait
Tera Contributor

Hello everyone,

 

I am working on updating the filter condition and heading for Interaction on the Simple List View. Specifically, when a user Click on Record Information (User Details) - Recent Task - View All -> It will open all the Tasks for last 7 days, It goes to Interaction Task List Page . We had a requirement to remove the fixed filter from the list, so users can see all incidents submitted by them for all the time not only for last 7 days. Therefore, I would like to change the condition. Any assistance would be greatly appreciated!

 

I can see this is done through https://nowlearning-nlinst03544138-8bykb-0001.lab.service-now.com/now/builder/ui/edit/experience/aa8...  where there is a Data Resource added as List Controller but Not sure how that query is getting dynamically and setting 7 days only OOTB, I need to modify it.

2 REPLIES 2

Pradnyesh
Kilo Sage

Hello @Ashish Kathait 
I am also facing similar issue. 
Will you guide me on this if you find out any input on this one.
Thank you!

Pradnyesh
Kilo Sage

@Ashish Kathait 
I got the answer.
You can change the condition from ux client script.
Open Ui builder > Open the record information page > scroll content and open caller record viewport and open the caller records page.
In the content you will see View All Button click on it and open it's event tab you will see a script added into it to execute after clicking on that button.
Duplicate the script and change the dynamic filter condition based on your requirement and add your script into the button event handler.
Thank you!

If this answer help you please mark as Helpful.