Notifications

476 views

Description

GlideModal('show_list') is used in UI action to check the incident list on form view. While using the filer in the POP window for incident list view, filter stop working in second attempt.

Steps to Reproduce

1. Go to UI action
Click - "New" UI Action

3. Create the new UI action "test modal" with below script -

check the "Client" checkbox
check the "Form Button" checkbox
Add "hasClicked()" value in the OnClick Field.

Add the below script in the script box

function hasClicked(){
var gdw = new GlideModal('show_list');
gdw.setTitle("Hello World");
gdw.setSize(750);
gdw.setPreference('focusTrap', true);
gdw.setPreference('table', 'incident_list');
gdw.setPreference('sysparm_query', 'sys_created_onRELATIVEGE@month@ago@3');
gdw.render();
}

Save the UI Action

4. Go to incident list https://InstanceName.service-now.com/incident_list.do
5. Open any of the Incident
6. Click on "Test Modal" UI action which we created earlier
7. Click on Filer opened in the pop up window
Created -> on -> Last 12 Months
8. Click on Run
You should be able to see the output according to the last 12 Months.
9. Close the "Test Modal" pop up window
10. Open the "Test Modal" UI action again
11. Click on Filer opened in the pop up window
Created -> on -> Last 12 Months
12. You can see no results

Once you will refresh the incident window and perform the step 10 and 11 again then you can see that the issue is not there.

Expected behavior : Filter works first time and it should work in the the second attempt too.

Actual behavior : Filter works first time and in the second attempt it stops working.

Workaround

This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.


Related Problem: PRB1352856

Seen In

Jakarta Patch 9a
Kingston Patch 7
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - Qradar SIEM Integration - Madrid 2019 Q1
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Threat Core - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3
SR - SIR - Threat intelligence - New York 2019 Q3
SR - SIR - VirusTotal Integration - New York 2019 Q3
SR - VR - Rapid7 - London 2019 Q2 v.6.2.1
SR - VR - Vulnerability Response - New York 2019 Q3
SR - VR - Vulnerability Response PA Content - Madrid 2019 Q2

Fixed In

Orlando

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-07-21 14:36:20
Published:2019-09-18