Choice selected disapearing in the RITM

sola2
Tera Contributor

I have created a catalog item which has multiple variables that are supposed to show/hide depending on various conditions. I arrived this with UI Policies. I was also requested however to apply the value action "clear value", so on the catalog item view if you then choose something else the previous selection would be removed.

sola2_0-1740418759129.png

The problem is the following:

If on the ui policy i set it up to apply only on the catalog item view, then all the variables will appear on the  RITM even the ones that where not selected.

sola2_1-1740418906667.png

 

But if I select the UI Policy to apply to catalog item view AND RITM then only the variables seleted on the form show however they will show empty.

sola2_2-1740419060679.png

 

 

I want to know why is the value been cleared in the RITM and how can I fix this

1 REPLY 1

Swapna Abburi
Mega Sage
Mega Sage

Hi @sola2 

when you select "clear value" in UI policy action, it makes the variable value as null when the UI policy conditions are met. Please set Value Action to leave alone and try.

 

If you want to blank the variables when the UI policy condition is not met, then you should consider "reverse if false" script in UI policy or create another UI policy with opposite condition.