Lookup select box variable not populating choices correctly in UI Policy conditions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 06:52 AM
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 06:55 AM
Hello @ReshmithaK ,
is it showing the values in string 3 field ?
what does string 3 field store in your custom table ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 07:12 AM
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.
But it is displaying the choices correctly in service portal though.
string 3 field is a normal string type variable that stores custom values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 07:15 AM
@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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 07:18 AM
@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.