Notifications

44 views

Description

If the value for a question is set as null, using a catalog client script, and if this variable/question is used in a record producer, the user will not be allowed to submit the record producer.
A browser console error is seen:
js_includes_sp_libs.jsx?v=...&c=... POST ...service-now.com/api/sn_sc/v1/servicecatalog/items/6d969728dbdfb300bcc2dbdb5e96195f/submit_producer 500 (Internal Server Error)

 

Steps to Reproduce

1) Create a variable set that contains a variable of type 'Single line text'.

2) Create an onLoad client script on the variable set that sets the value of this variable as 'null'.

3) Associate this variable set to a record producer.
 
4) Access the record producer in ServicePortal.

5) Click on 'Submit' without filling anything. The form is not submitted and no record gets created. A JS internal server error shows in the browser console.

Workaround

This problem has been fixed. If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.

As a workaround, in the onLoad catalog client script, set the value of the variable as empty string ('') instead of null.

 


Related Problem: PRB1356860

Seen In

Madrid Patch 6
SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - Audit Management PA Content - Madrid 2019 Q1
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - PA Premium Integration - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Policy and Compliance PA Content - Madrid 2019 Q1
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Risk Management PA Content - Madrid 2019 Q1
SR - IRM - SIG Assessment Legacy - Madrid 2019 Q1
SR - IRM - SIG Questionnaire - New York 2019 Q3
SR - IRM - Vendor Risk Management - Madrid 2019 Q1
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - CarbonBlack Integration - New York 2019 Q3
SR - SIR - Palo Alto Firewall Integration - New York 2019 Q3
SR - SIR - Palo Alto WildFire Integration - New York 2019 Q3
SR - SIR - Qradar SIEM Integration - Madrid 2019 Q1
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Security Incident Response PA Content - New York 2019 Q3
SR - SIR - Security Incident Response UI Patch - London 2019 Q2 v.6.2.3
SR - SIR - Splunk Sighting Search Integration - Madrid 2019 Q1
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 - Qualys - 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

New York Patch 3
Orlando

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-04-29 06:10:57
Published:2020-03-15