Notifications

6 views

Description

An onChange Catalog Client Script for a variable not working on Service Portal

Cause

The issue is seen because of some problems with the script. There were the following issues with the script: 

 

UI Type was set to Desktop

Variable name was empty

Resolution

To fix the script, the issues mentioned above need to be resolved:

 

UI Type should be set to All 
Variable name should be set to the correct variable onChange of which it should be triggered.


The script part itself needed to be corrected.

The condition to check for the boolean variable's value was as below:

if (newValue == true)

This needs to be changed to the following:

if (newValue == 'true')

Article Information

Last Updated:2019-08-29 07:25:09
Published:2019-08-29