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.

Fixed In

Madrid Patch 1
New York

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:42:46