UI Policy not working from a choice list selection unless I save the record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi all,
I thought this would be really simple and am sure I've done similar before, but I'm trying to make a field hidden until the appropriate option is selected from a choice list on the same table, and want to avoid script so am using a UI policy to make the field not visible if the choice selection is not the one that is applicable or is -none-. I'm fairly sure I've done everything required and it does work - but only after I've made the selection and saved the record, then the field becomes visible. That's not meeting the requirement as it's just more clicks for the end user. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
This issue typically happens when the "Reverse if false" option is not enabled in your UI Policy. If the policy only defines behavior for when the condition evaluates to true, clearing or unchecking the choice can leave the field in an inconsistent state until the form is refreshed or saved.
Probable Solution:
- Ensure the On Load checkbox is checked so it evaluates when the form opens.
- Check the Reverse if false box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Tanushree,
Yeah, on load and reverse if false are both selected...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
share screenshots of that UI policy
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Here you go...
