Service Catalog dropdown is not recalculated if depended field changes
search cancel

Service Catalog dropdown is not recalculated if depended field changes

book

Article ID: 388930

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

The dependent attribute is not updated if the field is updated twice in the Catalog form.
 
Steps:
In the form below, the report plugin  variable is defined as Report/Plug-in Variables$({'userid':ca_fdGetSelectedOptionValues(ca_fd.formId,'data_resource_owner')[0]})
 
Once the Resource Owner field is selected, the CI is updated correctly. However, if the Resource Owner value is updated again, the CI does not change and retains its earlier value.
 

 

Environment

CA Service Catalog 17.4

Resolution

We need to append ca_fdFetchSelectData() for the Resource owner onChange attribute.

ex: ca_fd.js.setFieldMappingCNT();ca_fdFetchSelectData(ca_fd.formId, 'data_ci');