When submitting a record via form in Service Portal, if the insert UI Action contains current.isNewRecord() as part of its condition, the insert fails and the response is empty.


Steps to Reproduce

1. Create a new UI Action on Incident with the following parameters:

Name: Anything
Action Name: sysverb_insert
Show Insert: true
Condition: current.isNewRecord();
Script: current.insert();
Form Button: true

2. Go to your
3. Create a new record using the new UI Action

Expected Result - Record should be inserted

Actual Result - No record is inserted


Use "Show insert" field on UI Action instead of using current.isNewRecord() in the condition.

Related Problem: PRB1321079

Seen In

There is no data to report.

Intended Fix Version

New York

Fixed In

Madrid Patch 1

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-05-21 11:42:46