Notifications

384 views

Description

Catalog UI policy conditions based on Date field are not working in Service Portal.  

Steps to Reproduce

1. create a new Date field (not Date/Time) on the Incident form

2. Create a UI Policy on Incident:
condition: datefield [relative] [before] [7] [days] [ago]
script to run if true: alert("date too soon");
On load: checked
UI Type (for scripts): All

3. go to /sp?id=form&t=incident&sys_id=-1

In Chrome, the alert doesn't fire on form load (as expected, since there's no value)
In Firefox, the alert shows on load (wrong)

If you add an "and" condition to the UI Policy saying datefield [is not empty], the alert *still* shows on form load in Firefox, so there isn't a practical workaround.

Unchecking "On load" makes this stop happening, of course, but that's not practical for some UI Policies that need to run on form load.

Workaround

This problem has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

 


Related Problem: PRB1313002

Seen In

Kingston Patch 8
London
SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - NIST CSF - New York 2019 Q3
SR - IRM - NIST RMF - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Vendor Risk Management - Madrid 2019 Q1
SR - ITOM - CMDB CI Class Models - 201908
SR - ITOM - Discovery and Service Mapping - 201908
SR - ITOM - Discovery and Service Mapping - v1.0.35
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
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 - SIR - WHOIS Integration - New York 2019 Q3
SR - VR - Rapid7 - London 2019 Q2 v.6.2.1
SR - VR - Vulnerability Response - New York 2019 Q3

Fixed In

Madrid Patch 8
New York

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-11-04 10:48:25
Published:2019-05-13