Lookup select box variable not populating choices correctly in UI Policy conditions.

ReshmithaK
Tera Contributor

Hi All,

 

I have a lookup select box variable "sub_category" that populates choice values based on the request type. These combinations of the request type and sub categories associated with it are available in a custom table to which the lookup select box is referencing to.

ReshmithaK_0-1693403035721.pngReshmithaK_1-1693403062356.png

 

ReshmithaK_2-1693403067939.png

This is working as expected and populating the choice values correctly in the service portal catalog item. But when I try to use the "sub category" field to set the conditions in the catalog UI policy, it is displaying some random numerical values and not displaying the choice list as expected. I need to display different other variables based on the sub category selection for which I am trying to create the UI policies, but not able to set the condition as the sub categories are not populating correctly.

 

Can you please help me in achieving this requirement. Thanks in advance.

9 REPLIES 9

Mohith Devatte
Tera Sage
Tera Sage

Hello @ReshmithaK ,

is it showing the values in string 3 field ?

what does string 3 field store in your custom table ?

Hi Mohith,

Yes, it is showing the numerical values present in string 3 field of the custom table, which don't satisfy the condition given in the reference qualifier. It is showing values pointed to different u_index_2 values.

ReshmithaK_0-1693404397193.png

But it is displaying the choices correctly in service portal though.

ReshmithaK_1-1693404495620.png

string 3 field is a normal string type variable that stores custom values.

@ReshmithaK is u_index_2 a different field storing the number displayed in UI policy condition drop down ?

And in the portal view  is  it showing sub category values ?

@Mohith Devatte No, u_index_2 is just an identification value for the combinations entered in the custom table and it is not displayed in UI policy condition drop down.

Yes, sub category values are populated in the portal view.