UI policy not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 12:37 AM
Hi team
am trying to show/hide a substate value based on State value = In stock and Model category= A, under alm_hardware table. But UI policy not working. Selected condition, On Load=true, Reverse if false= true, inherit= true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 12:42 AM
Hi @priceless ,
Why utilize script when you can utilize the build on condition builder? Just utilized the incident form with category / subcategory to showcase what i refer to:
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 01:10 AM - edited 11-16-2023 01:48 AM
Hi @AndersBGS
wanted to show/hide values within substate based on condition I have mentioned not the field itself. "show/hide a substate value based on State value = In stock and Model category= A, under alm_hardware table. But UI policy not working. Selected condition, On Load=true, Reverse if false= true, inherit= true"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 02:00 AM
Hi @priceless ,
If you want to show/hide values within substate based on state values, then you should go to the dictionary entry of the substate field and make changes to the dependent filed.
As you then see under the related list for choices, all available choices is there with depended value:
Depended values refer to the state choice values:
So if "retired" is selected on the state field, the the available is not available in the substate field:
Above off course only refers to depend field as state and not depended field of model category.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 03:49 AM
Hi @AndersBGS
that substate value is already exists under the specific State i.e. In Stock and added into choice list accordingly. My work is to Show the specific substate choice value on the table under alm_hardware table only when Model category= "Disk', and State = In Stock and other Model category is should be hide. I have different Model category under alm_hardware table.