In sc_task visible variable value is getting cleared

yashu1995
Kilo Guru

I made a variable in catalog item 

Variables : demo1 and demo2

Catalog UI policies : one to hide demo 1 on ritm and one to display+mandatory demo1 on task 

** Both UI policy actions : Clear variable value unchecked

 

The issue is When i m entering value to demo 1 variable from sc_task  the value i entered is getting cleared on save.

Checked all ui policies and client scripts on sc_task table. there is no script to clear value on sc_task

 

 

8 REPLIES 8

SaiRaviKiran Ak
Giga Guru

Can you share your UI Policies screenshot ?

Omkar Mone
Mega Sage

Hi 

Are these variables Global ticked???

yashu1995
Kilo Guru

find_real_file.png

UI policy to make demo 1 mandatory on task:

 

find_real_file.png

 

Ui Policy to hide demo1 on ritm

find_real_file.png

If it is a dot walked field then it should clear off as you are making the value empty from the UI Policy.

You need to add condition in your UI Policy like when you want to make that field visible and when you want to make that mandatory etc.

Once you make that field mandatory on the form then if you want to hide that from another UI policy then make sure you first should do mandatory false and then visible false.