69 views

Description

Unable to set values for variables of type Select or Yes/No through catalog client script on RITM and Task page.

Steps to Reproduce

 

  1. Import the attached item, variable, and client scripts.

  2. Order Test Yes No variable. Set Variable to Yes.

    The RITM will be created.

    The client script should set the variable to No when the RITM is opened. However, the variable "test_var" is not being set to No and is still Yes.

Workaround

Wrap the setValue call in a timeout function.

setTimeout(function() {
g_form.setValue("test_var", "No");
});

Related Problem: PRB1240229

Seen In

There is no data to report.

Fixed In

London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-06-18 07:58:39
Published:2017-11-28