Catalog variables visible in RITM why?

MalikB
Tera Contributor

Hello everyone i have a problem i created a UI policy to handle te visibility of a catalog variable it works in catalog but not in the RITM and CSTASK i checked in the UI policy catalog, RITM and Task

 

Capture d’écran 2025-09-30 à 15.08.18.pngCapture d’écran 2025-09-30 à 15.08.39.pngCapture d’écran 2025-09-30 à 15.12.31.pngCapture d’écran 2025-09-30 à 15.12.42.png

3 REPLIES 3

Brad Bowman
Kilo Patron
Kilo Patron

What are you seeing on the RITM and Catalog Tasks - variable(s) that you shouldn't, or not seeing ones that you should?  It looks like you have 2 UI Policies that affect the same variable, and both reverse if false, so that's going to be trouble with conflicting conditions.  If you can't logically fit all of the conditions for showing or hiding a certain variable into one UI Policy then de-activate them all and use a Catalog Client Script instead.  You can organize this into if blocks so that's it's clear what applies to which conditions.  If you do this just be aware that you need to make a variable not mandatory before you make it not visible. 

@Brad Bowman  actually what i need is for

vs_var_selectionner_perimetre make it visible and mandatory if a variable is vs_var_poste is No and Vs_var_besoin is not -- None-- the second i policy make 
vs_var_selectionner_perimetre read only and not mandatory if vs_var_trouve_pas is true

MalikB
Tera Contributor

Actually  the variable i need to show  and make mandatory

(vs_var_selectionner_perimetre)

under condition of if vs_var_poste_bureautique is No and vs_var_avez_besoin is not --None-- this is the first ui policy the second one is a if vs_var_trouve-pas is true make 

vs_var_selectionner_perimetre read only and madatory false