- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2022 02:18 AM
UI policy "Clear the variable value" makes a field empty even the condition is false in Catalog items.
I've created a catalog item with several variables, then added UI policy to show and require some variables based on answer to a previous question.
- "Applies on Requested Items" is checked on UI Policy
- UI Policy Action is configured as follows:
It works fine in service portal, but then on requested item view the value is empty (it should include user's answer).
It works if I uncheck the 'Clear the variable value', but I want it to be cleared when user selects something else... Is there any other way to make it work?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2022 01:29 PM
for some weird reason UI policies were impacting when onload is checked so UI policy script was added to fix it where clear variable value is required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2022 01:29 PM
for some weird reason UI policies were impacting when onload is checked so UI policy script was added to fix it where clear variable value is required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2023 09:23 AM
Hi @Noor Mohammad1 - we are experiencing this same thing after upgrading from Rome to Tokyo. Do you know if this is a product bug? or is it something that was intentionally changed in the product?
Also, would you mind sharing the UI Policy Script you added to fix this? Appreciate it.
Susan Williams, Lexmark