12 views

Description

If a field is populated via a client script on the Service Portal, it does not update as expected.

Steps to Reproduce

 

  1. Download the attached update set and commit the update set.

    Item: 711d1ec6732a0300f49d0690fdf6a7bd
    variable1: run onChange (checkbox)
    variable2: reference to "reference_variable_price_test" table (reference, pricing implications set to true)
    onChange script on variable1: clicking it will clear the value of variable2.

  2. Create a few records in the reference_variable_price_test table.

    Note the sys_id of any one record.

  3. Change the following "g_form.setValue()" in  <instance>/catalog_script_client.do?sys_id=bcbc1ac6732a0300f49d0690fdf6a797&sysparm_record_target=catalog_script_client&sysparm_record_row=1&sysparm_record_rows=1&sysparm_record_list=variable_set%3D395c16c6732a0300f49d0690fdf6a7f0%5EORDERBYorder
    to
    g_form.setValue("ref_price", "<sys_id>");

  4. Open the item in Service Portal (/sp?id=sc_cat_item&sys_id=711d1ec6732a0300f49d0690fdf6a7bd).

  5. Click the "run onchange" checkbox.

    Note that the price is not updated.

 

Workaround

This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. 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: PRB1240285

Seen In

There is no data to report.

Intended Fix Version

Kingston Patch 9

Fixed In

London

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:2018-08-02 04:53:33
Published:2018-07-31