In sc_task visible variable value is getting cleared
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018 02:31 AM
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
- Labels:
-
Service Catalog
- 1,604 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018 03:08 AM
Can you share your UI Policies screenshot ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018 03:10 AM
Hi
Are these variables Global ticked???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018 11:08 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018 11:27 PM
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.