- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2023 08:42 AM
Hello All,
Requirement:
There is a variable name "emailid"(blue highlighted) and there is a variable set (orange highlighted) with multiple variables - name "Demo_variable_set".
I need to show the variable set only if the emailid variable is filled(is not empty). I tried UI Policy to achieve the same. However it is not working.
Below is the UI Policy I tried with a condition
Need help to show the variable set only when the emailid Variable is filled
TIA.
@Ankur Bawiskar @Allen Andreas @SatyakiBose @Community Alums @newhand
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2023 08:47 AM - edited 03-12-2023 08:48 AM
Hi,
That's also because you have the other fields mandatory (you can't hide fields if they're mandatory), you would need to also set those fields to mandatory = false in in your UI Policy.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2023 08:47 AM - edited 03-12-2023 08:48 AM
Hi,
That's also because you have the other fields mandatory (you can't hide fields if they're mandatory), you would need to also set those fields to mandatory = false in in your UI Policy.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2023 08:44 PM
please check point mentioned by Allen.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2023 02:03 AM
It worked! Thank you @Allen Andreas and @Ankur Bawiskar
