Service Portal: On submitting form on error in mandatory form field, the form loads indefinitely due to a loop caused by asynchronous field validation scripts.

Steps to Reproduce

  1. Login as admin user
  2. Create a new field with XML field type. Check the Mandatory field in the Dictionary entry.
  3. In Service Portal, create a new record in the table with the new XML field.
  4. Enter the following invalid XML script in the new XML field.
    Script: <name>ServiceNow</name>
  5. Click Save.
  6. Notice the error below the XML field.
    Form loads indefinitely (can be observed on the network tab), not allowing user to perform any other actions on the form.


Deactivate Validation Scripts (sys_script_validator) where UI Type is "Mobile / Service Portal"

Related Problem: PRB1293557

Seen In

There is no data to report.

Intended Fix Version


Fixed In

London Patch 4

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-03-05 12:21:38