An onChange client script is not triggered in the Geneva release if a reference field is changed from filled to empty by a script.

Steps to Reproduce

  1. Log in to an instance with base system Geneva installed.

  2. Open any incident record.

  3. Right-click on the Caller field label and click Watch.

  4. Right-click on the Location field label and click Watch.

  5. Fill the Caller field.

    Note that the OnChange client script [ (BP) Set Location to User] runs and fills the Location for this user.

  6. Empty the field with a script.

    1. Open the JavaScript Executor console by pressing Ctrl +  Shift + j.
    2. Use the following script in the console:
      [g_form.setValue('caller_id', '');] and Click [Run my Code].

  7. View the Field Watcher logs.

    Note that the onChange client script '[ (BP) Set Location to User]' was not triggered.

  8. Repeat all of these steps on a base system Fuji instance.

    Note that onChange client script '[ (BP) Set Location to User]' is triggered.


There is no known workaround for this issue. If you are able to upgrade, review the Fixed In field below to determine the versions that have a permanent fix. You can also subscribe to this known error article (click Subscribe button at the top of the article) to receive notifications when more information is available about this issue.

Related Problem: PRB656044

Seen In

Fuji Patch 11 Hot Fix 1
Fuji Patch 8
Geneva Patch 0 Hot Fix 1
Geneva Patch 1
Geneva Patch 1 Hot Fix 5

Fixed In

Geneva Patch 3

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-05-07 04:50:29