UI policy not working

priceless
Tera Expert

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

priceless_0-1700123728096.png

 

7 REPLIES 7

AndersBGS
Tera Patron
Tera Patron

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:

 

AndersBGS_0-1700124067398.png

 

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/

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"

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.

AndersBGS_0-1700128297714.png

As you then see under the related list for choices, all available choices is there with depended value:

 

AndersBGS_1-1700128360558.png

 

Depended values refer to the state choice values:

AndersBGS_2-1700128412689.png

So if "retired" is selected on the state field, the the available is not available in the substate field:

AndersBGS_3-1700128480132.png

 

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/

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.