- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2024 10:28 AM
Hi,
Can you please also share the conditions on the Catalog UI Policy ?
It will help understand the issue, and give proper suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2024 10:55 AM
Condition is simple "Need Hardware" is true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2024 11:24 AM - edited 08-28-2024 11:24 AM
Gotta test it out to reproduce, though just based on your input: Visible = true and Clear the variable value = true looks a really odd scenario. I would expect Clear the variable value = true only with Visible = false.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 12:30 AM - edited 08-29-2024 12:34 AM
Hello @Mark Roethof ,
Really Thank you for your reply. As you mentioned, use "Clear the value" with the combination visible false. Yes, it appears to be a good combination; the value must be clear when the variable does not fill.
But that will not work for me because, as shown in the above screenshot, single line text must be visible true when the checkbox is checked, whereas your suggestion will work in the opposite direction. So I'm really excited to find out what the solution is in my case. I want to show the single line text variable when the checkbox is checked, and if the value is filled in single line text. and the checkbox is unchecked, it should clear the value at that time. However, doing this wrong setup. clearing the value on the RITM when user submit form by filling the single line text variable. as shown in the screenshots below.
-------------
To clear up any confusion, here are the steps to reproduce the issue:
1] Two variables.
2] UI Policy
I know the combination is incorrect, but what is the solution for my case? For example, if the checkbox is unchecked, the value on the portal should be cleared so that the user does not see the old value when they check it again. I have already read your previous article but have not found a solution to this case.
If you help us resolve this conflict, it will benefit a large number of people.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 12:38 AM
I've verified this yesterday already, this is all you need (and ofcourse another UI Policy for the devices):
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field